toggle 🔧 Utility & Misc Multiplayer Safe
Command Details
Description Toggle a cvar between values (e.g. toggle cl_showfps 0 1)
Category 🔧 Utility & Misc
sv_cheats Not required
Syntax
toggle <value> How to Use
1
Open the developer console by pressing the tilde key ~. If it does not open, enable it in Settings → Game → Enable Developer Console.
2
Type toggle into the console and press Enter.
3
Toggle a cvar between values (e.g. toggle cl_showfps 0 1). This command works in all game modes including competitive.
Related Utility & Misc Commands
Related Resources: All Console Commands Utility & Misc Bind GeneratorConfig Guide Practice Config All Tools
Frequently Asked Questions
- What does toggle do in CS2?
- Toggle a cvar between values (e.g. toggle cl_showfps 0 1)
- Does toggle require sv_cheats?
- No, toggle does not require sv_cheats. You can use it freely in any game mode, including competitive matchmaking and official Valve servers.
- Can I use toggle in competitive?
- Yes, toggle works in competitive matchmaking and all other game modes. It is a client-side command that does not require sv_cheats.