{{newin|[[0.9.2]]|092|type=function}}
Gets the position of the window on the screen.

The window position is in the coordinate space of the display it is currently in.
== Function ==
=== Synopsis ===
<source lang="lua">
x, y, display = love.window.getPosition( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|x|The x-coordinate of the window's position.}}
{{param|number|y|The y-coordinate of the window's position.}}
{{param|number|display|The index of the display that the window is in.}}
== See Also ==
* [[parent::love.window]]
* [[love.window.setPosition]]
[[Category:Functions]]
{{#set:Description=Gets the position of the window on the screen.}}
== Other Languages ==
{{i18n|love.window.getPosition}}