onClientGUISize
Client-side
Server-side
Shared
This event is triggered when the local client resizes 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 that was resized.
Code Examples
client
This example will output the type of GUI element that the client has resized, to the chatbox.
addEventHandler("onClientGUISize",guiRoot,function() outputChatBox("You have resized a "..getElementType(source)..".",255,255,0)end)
See Also
Input Events
- onClientClick
- onClientDoubleClick
- onClientCursorMove
- onClientCharacter
- onClientGUIAccepted
- onClientGUIChanged
- onClientGUIBlur
- onClientGUIClick
- onClientGUIComboBoxAccepted
- onClientGUIDoubleClick
- onClientGUIMove
- onClientGUIFocus
- onClientGUIMouseUp
- onClientGUIScroll
- onClientGUIMouseDown
- onClientGUITabSwitched
- onClientGUISize
- onClientKey
- onClientMouseEnter
- onClientMouseLeave
- onClientMouseMove
- onClientMouseWheel
- onClientPaste
Input Functions
- addCommandHandler
- bindKey
- executeCommandHandler
- getCommandHandlers
- getFunctionsBoundToKey
- getKeyBoundToFunction
- isControlEnabled
- removeCommandHandler
- toggleControl
- unbindKey
- toggleAllControls
- getAnalogControlState
- getBoundKeys
- getCommandsBoundToKey
- getKeyBoundToCommand
- isCapsLockEnabled
- getKeyState
- setAnalogControlState
- isKeyBound