CS2 sv_ent_showonlyhitbox Command

CS2 Command CS2 logo
sv_ent_showonlyhitbox <Entity ID>

This command highlights only the hitbox of a specific entity in the game, allowing for better visualization of hit detection mechanisms. The default value -1 indicates that no entity's hitbox is highlighted.

Argument Information

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

Specifies the ID of the entity whose hitbox is to be highlighted.

Extra Information

Find additional information relating to this command below.
sv_cheats Required
Yes
Client or Server Command
Server
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.

sv_ent_showonlyhitbox -1
1/1 arguments filled
Entity ID

sv_ent_showonlyhitbox Examples

sv_ent_showonlyhitbox 1

Highlights only the hitbox of the entity with ID 1.

sv_ent_showonlyhitbox 0

Turns off the hitbox highlighting, since entity IDs start from 1.