Volt

rconsolehidden

Checks if the console window is hidden.

Syntax

rconsolehidden() -> boolean

Returns

TypeDescription
booleanTrue 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")
end

On this page