OnClientGUIMove: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (→See Also) |
||
(One intermediate revision by one other user not shown) | |||
Line 4: | Line 4: | ||
==Parameters== | ==Parameters== | ||
No parameters. | |||
==Source== | ==Source== | ||
Line 17: | Line 17: | ||
==See Also== | ==See Also== | ||
{{GUI_events}} | {{GUI_events}} | ||
===Client event functions=== | ===Client event functions=== | ||
{{Client_event_functions}} | {{Client_event_functions}} |
Latest revision as of 14:31, 20 May 2018
This event is triggered each time the user moves a GUI element.
Parameters
No parameters.
Source
The source of this event is the GUI element which was moved.
Example
This example would output to the chatbox what the player moved.
addEventHandler("onClientGUIMove",guiRoot,function() outputChatBox("You have moved :"..getElementType(source)) end)
See Also
Input
GUI
- onClientGUIAccepted
- onClientGUIBlur
- onClientGUIChanged
- onClientGUIClick
- onClientGUIComboBoxAccepted
- onClientGUIDoubleClick
- onClientGUIFocus
- onClientGUIMouseDown
- onClientGUIMouseUp
- onClientGUIMove
- onClientGUIScroll
- onClientGUISize
- onClientGUITabSwitched
- onClientMouseEnter
- onClientMouseLeave
- onClientMouseMove
- onClientMouseWheel
Client event functions
- triggerLatentServerEvent
- triggerServerEvent
- Shared
- addEvent
- addEventHandler
- cancelEvent
- cancelLatentEvent
- getEventHandlers
- getLatentEventHandles
- getLatentEventStatus
- removeEventHandler
- triggerEvent
- wasEventCancelled