spec_show_xray
🎬 Demo & Recording Multiplayer Safe

Command Details

Description Toggle X-ray outline view in spectate/demo
Default Value 0
sv_cheats Not required

Syntax

spec_show_xray 0

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 spec_show_xray 0 into the console and press Enter.

3

Toggle X-ray outline view in spectate/demo. This command works in all game modes including competitive. The default value is 0.

Related Demo & Recording Commands

Browse all Demo & Recording commands →

Frequently Asked Questions

What does spec_show_xray do in CS2?
Toggle X-ray outline view in spectate/demo
What is the default value for spec_show_xray?
The default value for spec_show_xray is 0. You can reset it to this value at any time by typing "spec_show_xray 0" in the console.
Does spec_show_xray require sv_cheats?
No, spec_show_xray does not require sv_cheats. You can use it freely in any game mode, including competitive matchmaking and official Valve servers.
Can I use spec_show_xray in competitive?
Yes, spec_show_xray works in competitive matchmaking and all other game modes. It is a client-side command that does not require sv_cheats.

Explore More on CSDB.gg