- Documentation
- Client events
- onClientGUIFocus
Event
onClientGUIFocus
A GUI control got focus (e.g. an edit box the player clicks into).
Handler
addEventHandler("onClientGUIFocus", root, function() ... end)Source
source is the control.
Example
addEventHandler("onClientGUIFocus", root, function()
outputConsole("Fokus: " .. getElementType(source))
end)