Garry's Mod Wiki

Entity:GetHitBoxGroupCount

  number Entity:GetHitBoxGroupCount()

Description

We advise against using this. It may be changed or removed in a future update. You should use Entity:GetHitboxSetCount instead.

Returns the number of hit box sets that an entity has. Functionally identical to Entity:GetHitboxSetCount

Returns

1 number
number of hit box sets

Example

Prints how many hit box sets the client has

local numHitBoxGroups = LocalPlayer():GetHitBoxGroupCount() print(numHitBoxGroups)