<div class='type'>Function</div>


<a id='references'></a>


<h2 id="getboundsinroot">getBoundsInRoot</h2>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
fun SemanticsNodeInteraction.getBoundsInRoot(): DpRect
```


Returns the bounds of the layout of this node as clipped to the root. The bounds are relative to
the root composable.