Transform:inverseTransformPoint
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.
globalX, globalY = Transform:inverseTransformPoint( localX, localY )
localX number The x component of the position with the transform applied.
localY number The y component of the position with the transform applied.
globalX number The x component of the position in global coordinates.
globalY number The y component of the position in global coordinates.