love.window.getPosition
Gets the position of the window on the screen.

The window position is in the coordinate space of the display it is currently in.
x, y, displayindex = love.window.getPosition()
x number The x-coordinate of the window's position.
y number The y-coordinate of the window's position.
displayindex number The index of the display that the window is in.