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

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

== Function ==
=== Synopsis ===
<source lang="lua">
localX, localY = Transform:transformPoint( globalX, globalY )
</source>
=== Arguments ===
{{param|number|globalX|The x component of the position in global coordinates.}}
{{param|number|globalY|The y component of the position in global coordinates.}}
=== Returns ===
{{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.}}

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