CS2 cl_ent_showonlyhitbox Command

CS2 Command CS2 logo
cl_ent_showonlyhitbox <Entity ID>

This command highlights the hitbox of a specific entity, making it easier for developers to visualize and debug hit detection.

Argument Information

The syntax for this command is as follows:
Name Description
Entity ID

Specifies the ID of the entity whose hitbox should be highlighted.

Extra Information

Find additional information relating to this command below.
sv_cheats Required
Yes
Client or Server Command
Client
Default Value
-1
Total CS is the home of CS2 commands We boast the only complete, up-to-date database of all CS2 console commands. View All CS2 Commands
CS2 player
IPS

Command Generator

Adjust the settings below to automatically generate a command. Once you've got everything right, hit the Copy button and paste it into the console in CS:GO.

cl_ent_showonlyhitbox 0
1/1 arguments filled
Entity ID

cl_ent_showonlyhitbox Examples

cl_ent_showonlyhitbox 1

Highlights the hitbox of the entity with ID 1.

cl_ent_showonlyhitbox 0

Turns off the highlighting for the entity with ID 0.