Command
sv_ent_showonlyhitbox
<Entity ID>Explore usage, syntax, and examples for the sv_ent_showonlyhitbox CS2 developer console command.
sv_ent_showonlyhitbox
CS2 Onlysv_ent_showonlyhitbox
<Entity ID>Highlights the hitbox of a selected entity in the game for easier hit detection visualization. Use -1 to disable highlighting.
Enter the ID of the entity whose hitbox you want to highlight.
Yes
Server
sv_ent_showonlyhitbox Generator
sv_ent_showonlyhitbox
<Entity ID>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
sv_ent_showonlyhitbox
1
Highlight the hitbox of the entity with ID 1.
sv_ent_showonlyhitbox
0
Turn off hitbox highlighting (entity IDs start at 1).