    

 ## On this page

  

 

 # getPositionX

 Last update: 30.07.2026 

public [getPositionX](get-position-x.md)(): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)

gets the X co-ordinate value of the current object,

#### Return

the X co-ordinate of the position

#### Throws

[ModelCenterException](./../-model-center-exception/index.md)