lovr.system.getMousePosition
EditReturns the position of the mouse.
x, y = lovr.system.getMousePosition()
Arguments
None
Returns
Name | Type | Description |
x | number | The x position of the mouse, relative to the top-left of the window. |
y | number | The y position of the mouse, relative to the top-left of the window. |