Get the x position of the body in world coordinates.

== Function ==
=== Synopsis ===
<source lang="lua">
x = Body:getX( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|x|The x position in world coordinates.}}

== See Also ==
* [[parent::Body]]
[[Category:Functions]]
{{#set:Description=Get the x position of the body in world coordinates.}}
{{#set:Since=000}}

== Other Languages ==
{{i18n|Body:getX}}