{{newin|[[11.0]]|110|type=function}}
Applies the reverse of the Transform object's transformation to the given 2D position.

This effectively converts the given position from the local coordinate space of the Transform into global coordinates.

One use of this method can be to convert a screen-space mouse position into global world coordinates, if the given Transform has transformations applied that are used for a camera system in-game.

== Function ==
=== Synopsis ===
<source lang="lua">
globalX, globalY = Transform:inverseTransformPoint( localX, localY )
</source>
=== Arguments ===
{{param|number|localX|The x component of the position with the transform applied.}}
{{param|number|localY|The y component of the position with the transform applied.}}
=== Returns ===
{{param|number|globalX|The x component of the position in global coordinates.}}
{{param|number|globalY|The y component of the position in global coordinates.}}

== See Also ==
* [[parent::Transform]]
* [[Transform:transformPoint]]
[[Category:Functions]]
{{#set:Description=Applies the reverse of the Transform object's transformation to the given 2D position.}}
== Other Languages ==
{{i18n|Transform:inverseTransformPoint}}