toggle
Flips a setting between values each time it runs.
toggle cl_showfps 0 1
Examples
toggle cl_showfps 0 1
How to use it
- Turn on the console under Settings, Game, Enable Developer Console.
- Press the key under Esc to open it.
- Type toggle <cvar> <a> <b> and press Enter.
Binds that use toggle
FAQ
Does toggle need sv_cheats?
No. toggle is not cheat-protected in CS2's command list, so you can use it in any game.
More console and binds commands
Revision history
- First published. Every command checked against CS2's own cvar and command list (SteamDatabase dump b73cfdeb35, 28 Oct 2026).