Command
toggle
<Command><Values>Explore usage, syntax, and examples for the toggle CS2 developer console command.
toggle
CS2 and CSGOtoggle
<Command><Values>Toggle a console variable (convar) on or off (between 0 and 1), or cycle through a specified list of values.
The convar you want to toggle.
Optional. List of values to cycle through, separated by spaces (e.g., "0 1 2 3"). If omitted, toggles between 0 and 1.
No
Client
Server
toggle Generator
toggle
<Command>Set the options below to auto-generate your command. When everything looks good, click the Copy button and paste it into your in-game console.
toggle Examples
toggle
voice_enable
Toggle voice_enable between 0 and 1, effectively turning voice chat off and on.
toggle
0
bot_difficulty
Cycle bot_difficulty through 0, 1, 2, and 3. Each use sets it to the next value.