Compose API Reference Compose UI positionInWindow Function Common fun LayoutCoordinates.positionInWindow(): Offset The position of this layout relative to the window.