OnMouseMove: Difference between revisions

Jump to navigation Jump to search
84 bytes removed ,  19 November 2022
no edit summary
No edit summary
 
No edit summary
 
Line 1: Line 1:
{{ScriptItem
{{ScriptItem2
|endpoint = client
|name = onMouseMove
|side = client
|type = event
|type = event
|name = onMouseMove
|games = iii vc sa iv
|usage = the mouse is moved
|desc = the mouse is moved
|callbackParameters = Event event, int mouse, bool absolute, Vec2 coordinates
|arg1 = int mouse The ID of the mouse.
|parameter1 = int mouse The ID of the mouse.
|arg2 = bool absolute Whether the coordinates are absolute.
|parameter2 = bool absolute Whether the coordinates are absolute.
|arg3 = Vec2 coordinates The coordinates, either absolute or relative.
|parameter3 = Vec2 coordinates The coordinates, either absolute or relative.
|note = This does NOT give an absolute position. The coordinates are delta coordinates, relative to mouse movement. If you need absolute cursor coordinates, use [[OnCursorMove|onCursorMove]] instead.
|cancellable = false
|cancel = false
|notes = This does NOT give an absolute position. The coordinates are delta coordinates, relative to mouse movement. If you need absolute cursor coordinates, use [[OnCursorMove|onCursorMove]] instead.
}}
}}
6,834

edits

Navigation menu