rconsolehidden
Checks if the console window is hidden.
Syntax
rconsolehidden() -> booleanReturns
| Type | Description |
|---|---|
boolean | True if console is hidden/closed |
Description
rconsolehidden returns whether the console window is currently hidden or not visible.
Example
rconsoleshow()
if not rconsolehidden() then
rconsoleprint("Console is visible!\n")
end
rconsolehide()
if rconsolehidden() then
print("Console is now hidden")
endRelated Functions
rconsoletoggle- Toggle visibilityrconsoleshow- Show the consolerconsolehide- Hide the console