nav_draw_area_ztest Command

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

nav_draw_area_ztest

CS2 Only

Command

nav_draw_area_ztest

<0 / 1>

Toggles Z-axis testing when drawing navigation areas to control their visibility based on the player's view and position.

<0 / 1>

Turn Z-axis testing on or off to control nav area visibility.

sv_cheats Required

Yes

Client or Server Command

Server

Default Value

0

nav_draw_area_ztest Generator

Command

nav_draw_area_ztest

<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_draw_area_ztest Examples

Command

nav_draw_area_ztest

0

Turns off Z-axis testing, making nav areas always visible regardless of player position.

Command

nav_draw_area_ztest

1

Turns on Z-axis testing, so nav areas are only visible when within view and not blocked by other objects.