- Documentation
- Client functions
- guiGetVisible
Function
guiGetVisible
Checks whether a control is visible.
Syntax
bool guiGetVisible(element guiElement)Arguments
guiElementelement- The control.
Returns
true if visible.
Example
bindKey("F1", "down", function()
local show = not guiGetVisible(helpWin)
guiSetVisible(helpWin, show)
showCursor(show)
end)