Transform a vector from world coordinates to local coordinates.

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

== See Also ==
* [[parent::Body]]
[[Category:Functions]]
{{#set:Description=Transform a vector from world coordinates to local coordinates.}}
{{#set:Since=000}}

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