Available since LÖVE 11.0 |
This function is not supported in earlier versions. |
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.
localX, localY = Transform:transformPoint( globalX, globalY )
number globalX
number globalY
number localX
number localY