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


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


<h2 id="findrootcoordinates">findRootCoordinates</h2>

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


```kotlin
fun LayoutCoordinates.findRootCoordinates(): LayoutCoordinates
```


Walks up the `LayoutCoordinates` hierarchy to find the `LayoutCoordinates` whose
`LayoutCoordinates.parentCoordinates` is `null` and returns it. If
`LayoutCoordinates.isAttached`, this will have the size of the
`ComposeView`.