sv_ent_showonlyhitbox Command

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

sv_ent_showonlyhitbox

CS2 Only

Command

sv_ent_showonlyhitbox

<Entity ID>

Highlights the hitbox of a selected entity in the game for easier hit detection visualization. Use -1 to disable highlighting.

<Entity ID>

Enter the ID of the entity whose hitbox you want to highlight.

sv_cheats Required

Yes

Client or Server Command

Server

sv_ent_showonlyhitbox Generator

Command

sv_ent_showonlyhitbox

<Entity ID>
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.

sv_ent_showonlyhitbox Examples

Command

sv_ent_showonlyhitbox

1

Highlight the hitbox of the entity with ID 1.

Command

sv_ent_showonlyhitbox

0

Turn off hitbox highlighting (entity IDs start at 1).