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.

Syntax
Luau
rconsolehidden() -> boolean

Parameters

This function takes no arguments.

Returns

boolean

true when the console is hidden; false when it is visible.

Example

Example
Luau
if rconsolehidden() then
    rconsoleshow()
end
rconsoleinfo("Console is visible.")
Kawaii documentation