nav_test_rays Command

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

nav_test_rays

CS2 Only

Command

nav_test_rays

<0 / 1>

Toggle the display of AI navigation rays to debug and see how bots find their paths in the map.

<0 / 1>

Turn navigation ray testing on (1) or off (0).

sv_cheats Required

Yes

Client or Server Command

Server

Default Value

0

nav_test_rays Generator

Command

nav_test_rays

<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

nav_test_rays Examples

Command

nav_test_rays

1

Turn on navigation ray testing to visualize AI pathfinding.

Command

nav_test_rays

0

Turn off navigation ray testing to hide the visualization.