spec_show_xray Command

Explore usage, syntax, and examples for the spec_show_xray CS2 developer console command.

spec_show_xray

CS2 and CSGO

Command

spec_show_xray

<0 / 1>

Toggle x-ray outlines for players when spectating in demos or overwatch, allowing you to see players through walls.

<0 / 1>

Set to 1 to enable x-ray outlines while spectating. Set to 0 to disable them.

sv_cheats Required

No

Client or Server Command

Client

Default Value

1

spec_show_xray Generator

Command

spec_show_xray

<0 / 1>
0/1 Arguments Selected

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.

0 / 1

spec_show_xray Examples

Command

spec_show_xray

0

Disables x-ray outlines during spectating (default).

Command

spec_show_xray

1

Enables x-ray outlines during spectating.