---
title: "positionOnScreen"
description: "The position of this layout on the device's screen. Returns [Offset.Unspecified] if the
conversion cannot be performed."
type: "function"
---

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


<a id='references'></a>
<div class='sourceset sourceset-common'>Common</div>


```kotlin
fun LayoutCoordinates.positionOnScreen(): Offset
```


The position of this layout on the device's screen. Returns `Offset.Unspecified` if the
conversion cannot be performed.



