rconsolehidden Synchronous
Find out whether the script console is currently hidden. Check it before starting a prompt so the user can actually see where to type.
Luau
rconsolehidden() -> booleanParameters
This function takes no arguments.
Returns
booleantrue when hidden; false when visible.
Usage notes
A missing or destroyed console UI also counts as hidden.
Example
Luau
if rconsolehidden() then rconsoleshow() end
rconsoleprint("The console is visible now")