This toggle controls CS2's built-in spectator x-ray showing player models through walls as color-coded outlines, making demo review dramatically more educational. Unlike practice wallhacks requiring sv_cheats 1, spectator x-ray works on any demo without special permissions, making it the standard tool for tactical analysis. Professional match demos become particularly valuable with x-ray enabled - pause at critical moments to examine positioning, understand why plays succeeded or failed, and observe utility coordination and rotation timing. Demo review with intelligent x-ray usage is one of the most valuable learning tools, dramatically accelerating tactical understanding beyond what pure gameplay experience provides.
Toggle X-Ray (Spectator)
Toggles built-in spectator x-ray vision when watching demos or spectating matches. Helps analyze positioning and learn from professional gameplay.
Bind Description
Learn how to use Toggle X-Ray (Spectator) and when it's most effective.
Bind Generator
Click any key placeholder below and press your desired key or scroll the mousewheel to customize the bind.
Configure Keys
Generated Bind Command
bind <key> "toggle spec_show_xray 0 1"Open the CS2 console (~) and paste this command to apply your bind.
Bind Information
Learn more about how to use Toggle X-Ray (Spectator) effectively.
Key Customization
Use the key customizer above to assign any keyboard key to your bind. Click a placeholder and press your desired key to customize it.
Console Execution
Copy the generated command and paste it into your CS2 console (press ~ to open) to immediately apply the bind in-game.
Autoexec Configuration
Add the bind command to your autoexec.cfg file to make it permanent. The file is located in your CS2 cfg folder.
Cheats Required
This bind works on all servers and does not require cheats to be enabled. Use it freely in competitive matches.