Compose API Reference Compose UI positionInRoot Function Common fun LayoutCoordinates.positionInRoot(): Offset The position of this layout inside the root composable.