lovr.mousemoved
EditThis callback is called when the mouse is moved.
function lovr.mousemoved(x, y, dx, dy)
-- your code here
end
Arguments
Name | Type | Description |
x | number | The new x position of the mouse. |
y | number | The new y position of the mouse. |
dx | number | The movement on the x axis since the last mousemove event. |
dy | number | The movement on the y axis since the last mousemove event. |
Returns
Nothing