onClientGUIMove
Client-side
Server-side
Shared
This event is triggered each time the user moves a GUI element.
Parameters
This event does not pass any parameters to the handler function.
Source
element: The source of this event is the GUI element which was moved.
Code Examples
client
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 Events
- onClientClick
- onClientCharacter
- onClientDoubleClick
- onClientCursorMove
- onClientGUIAccepted
- onClientGUIBlur
- onClientGUIChanged
- onClientGUIClick
- onClientGUIComboBoxAccepted
- onClientGUIDoubleClick
- onClientGUIMouseDown
- onClientGUIFocus
- onClientGUIMove
- onClientGUIMouseUp
- onClientGUISize
- onClientGUIScroll
- onClientKey
- onClientGUITabSwitched
- onClientMouseEnter
- onClientMouseLeave
- onClientMouseMove
- onClientMouseWheel
- onClientPaste
Input Functions
- bindKey
- addCommandHandler
- executeCommandHandler
- getCommandHandlers
- getFunctionsBoundToKey
- getKeyBoundToFunction
- isControlEnabled
- removeCommandHandler
- toggleAllControls
- unbindKey
- toggleControl
- getAnalogControlState
- getBoundKeys
- getCommandsBoundToKey
- getKeyBoundToCommand
- isCapsLockEnabled
- getKeyState
- setAnalogControlState
- isKeyBound