---
title: "getPositionInRoot"
description: "Returns the position of the node relative to the root node."
type: "function"
lastmod: "2026-06-18T10:32:52.437244Z"
---
## API Reference

### getPositionInRoot

> Source set: Android

```kotlin
public fun SubspaceSemanticsNodeInteraction.getPositionInRoot(): Vector3
```

Returns the position of the node relative to the root node.

Additional assertions with custom tolerances may be performed on the individual values.
