{{newin|[[11.0]]|110|type=function}}
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.

== Function ==
=== Synopsis ===
<source lang="lua">
globalX, globalY = love.graphics.inverseTransformPoint( screenX, screenY )
</source>
=== Arguments ===
{{param|number|screenX|The x component of the screen-space position.}}
{{param|number|screenY|The y component of the screen-space position.}}
=== 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::love.graphics]]
* [[love.graphics.transformPoint]]
* [[Transform]]
[[Category:Functions]]
{{#set:Description=Converts the given 2D position from screen-space into global coordinates.}}
{{#set:Sub-Category=Coordinate System}}
== Other Languages ==
{{i18n|love.graphics.inverseTransformPoint}}