cl_ent_showonlyhitbox Command

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

cl_ent_showonlyhitbox

CS2 Only

Command

cl_ent_showonlyhitbox

<Entity ID>

Highlights the hitbox of a specified entity to help visualize and debug hit detection.

<Entity ID>

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

sv_cheats Required

Yes

Client or Server Command

Client

cl_ent_showonlyhitbox Generator

Command

cl_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.

cl_ent_showonlyhitbox Examples

Command

cl_ent_showonlyhitbox

1

Highlight the hitbox of the entity with ID 1.

Command

cl_ent_showonlyhitbox

0

Disable hitbox highlighting for the entity with ID 0.