OnClientMouseMove

From Multi Theft Auto: Wiki
Revision as of 11:00, 24 March 2008 by Awwu (talk | contribs) (New page: {{Client event}} __NOTOC__ This event is triggered each time the user moves the mouse on top of a GUI element. ==Parameters== <syntaxhighlight lang="lua"> int absoluteX, int absoluteY </syntaxhighlight> * '''ab...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This event is triggered each time the user moves the mouse on top of a GUI element.

Parameters

int absoluteX, int absoluteY
  • absoluteX: the X position of the mouse cursor, in pixels, measured from the left side of the screen.
  • absoluteY: the Y position of the mouse cursor, in pixels, measured from the top of the screen.

Source

The source of this event is the GUI element on which the mouse was moved.

Example

--TODO

See Also

GUI events

Input

GUI


Client event functions