Transform a point from world coordinates to local coordinates.

== Function ==
=== Synopsis ===
<source lang="lua">
localX, localY = Body:getLocalPoint( worldX, worldY )
</source>
=== Arguments ===
{{param|number|worldX|The x position in world coordinates.}}
{{param|number|worldY|The y position in world coordinates.}}
=== Returns ===
{{param|number|localX|The x position in local coordinates.}}
{{param|number|localY|The y position in local coordinates.}}

== See Also ==
* [[parent::Body]]
[[Category:Functions]]
{{#set:Description=Transform a point from world coordinates to local coordinates.}}
{{#set:Since=000}}
== Other Languages ==
{{i18n|Body:getLocalPoint}}