CS2 & CS:GO cast_ray Command

CS:GO & CS2 Compatible
cast_ray

This console command tests the game's collision detection by spawning a small ray from where your character is standing to where they are looking.

Extra Information

Find additional information relating to this command below.
sv_cheats Required
Yes
Client or Server Command
Server
Total CS is the home of CS2 commands We boast the only complete, up-to-date database of all CS2 console commands. View All CS2 Commands
CS2 player
Ad

cast_ray Examples

cast_ray

Spawns a ray of light from that connects where you're standing with where you're looking. You can spawn multiple of these at once though they will fade with time.