Get the position of the body.

Note that this may not be the center of mass of the body.

== Function ==
=== Synopsis ===
<source lang="lua">
x, y = Body:getPosition( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|x|The x position.}}
{{param|number|y|The y position.}}

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

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