OnClientGUIMouseUp

From Multi Theft Auto: Wiki
Revision as of 08:05, 25 June 2009 by Awwu (talk | contribs) (New page: {{Client event}} __NOTOC__ This event is fired when the user releases his mouse button when on top of a GUI element. ==Parameters== <syntaxhighlight lang="lua"> string button, int absoluteX, int absolu...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This event is fired when the user releases his mouse button when on top of a GUI element.

Parameters

string button, int absoluteX, int absoluteY
  • button: the name of the mouse button that was released on a GUI element, can be left, right, or middle.
  • 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 top of which the mouse button was released.

Example

-- TODO

See Also

GUI events

Input

GUI


Client event functions