ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client events
  3. onClientGUIMouseUp

Event

onClientGUIMouseUp

ClientInterface (GUI)Identical to MTA:SA

The player released a mouse button over a GUI control.

Handler

addEventHandler("onClientGUIMouseUp", root, function(button, absoluteX, absoluteY) ... end)

Parameters

buttonstring
The button.
absoluteXint
X.
absoluteYint
Y.

Source

source is the control.

Example

addEventHandler("onClientGUIMouseUp", root, function(button)
    outputConsole("Puszczono " .. button)
end)

See also