Command
spec_show_xray
<0 / 1>Explore usage, syntax, and examples for the spec_show_xray CS2 developer console command.
spec_show_xray
CS2 and CSGOspec_show_xray
<0 / 1>Toggle x-ray outlines for players when spectating in demos or overwatch, allowing you to see players through walls.
Set to 1 to enable x-ray outlines while spectating. Set to 0 to disable them.
No
Client
1
spec_show_xray Generator
spec_show_xray
<0 / 1>Set the options below to auto-generate your command. When everything looks good, click the Copy button and paste it into your in-game console.
spec_show_xray Examples
spec_show_xray
0
Disables x-ray outlines during spectating (default).
spec_show_xray
1
Enables x-ray outlines during spectating.