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

### getRotationInRoot

> Source set: Android

```kotlin
public fun SubspaceSemanticsNodeInteraction.getRotationInRoot(): Quaternion
```

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

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