The "sys_toggle_cmd" Function
#
SyntaxArgument | Type | Description |
---|---|---|
[sound] | sound | Optional: A sound to be played when the script is run |
#
DescriptionHides the command console if visible, or unhides it if invisible. Also blocks most engine input functions while the console is displayed.
As this script is run automatically by other engine functions, it is almost never necessary to run sys_toggle_cmd
manually. By default, the console can be opened and closed using the tilde (~) key when debug mode is enabled.