rconsolehidden Synchronous
Check whether the script console is currently hidden. Use it before showing a prompt or when updating a console visibility indicator. A true result means the console is hidden.
Luau
rconsolehidden() -> booleanParameters
This function takes no arguments.
Returns
booleantrue when the console is hidden; false when it is visible.
Example
Luau
if rconsolehidden() then
rconsoleshow()
end
rconsoleinfo("Console is visible.")