toggle
🔧 Utility & MiscMultiplayer Safe
Command Details
DescriptionToggle a cvar between values (e.g. toggle cl_showfps 0 1)
Category🔧 Utility & Misc
sv_cheatsNot 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 CommandsUtility & MiscBind GeneratorConfig GuidePractice ConfigAll 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.