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