Available since LÖVE 11.0 |
This function is not supported in earlier versions. |
Converts the given 2D position from screen-space into global coordinates.
This effectively applies the reverse of the current graphics transformations to the given position. A similar Transform:inverseTransformPoint method exists for Transform objects.
globalX, globalY = love.graphics.inverseTransformPoint( screenX, screenY )
number screenX
number screenY
number globalX
number globalY