Volt

rconsoletoggle

Toggles the console window visibility.

Syntax

rconsoletoggle() -> void

Returns

This function does not return a value.

Description

rconsoletoggle toggles the visibility of the console window. If hidden, it shows the console; if visible, it hides the console.

Example

-- Create console first
rconsoleshow()
rconsoleprint("Console is visible\n")

-- Toggle it off
rconsoletoggle()
print("Console is now hidden")

-- Toggle it back on
rconsoletoggle()
rconsoleprint("Console is visible again\n")

On this page