onMouseMove

From GTA Connected
Revision as of 20:28, 19 November 2022 by Mex (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Event Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline Not Cancellable

Available since Client 1.0.0

onMouseMove(Event event, int mouse, bool absolute, Vec2 coordinates)

The onMouseMove event is invoked when the mouse is moved.

Parameters

1) Event event The event object for this event.
2) int mouse The ID of the mouse.
3) bool absolute Whether the coordinates are absolute.
4) Vec2 coordinates The coordinates, either absolute or relative.

Attributes

const This event cannot be cancelled.

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 instead.

Examples

There aren't any examples for this event.

Compatibility

There isn't any compatibility information for this event.

Related

Client Related

icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnMouseConnected
icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnMouseDisconnected
icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnMouseDown
icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnMouseLeave
icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnMouseMove
icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnMouseUp
icon-iii.png icon-vc.png icon-sa.png icon-iv.png OnMouseWheel