Garry's Mod Wiki

Entity:GetSurroundingBounds

  Vector, Vector Entity:GetSurroundingBounds()

Description

Returns two vectors representing the minimum and maximum extent of the entity's axis-aligned bounding box for hitbox detection. In most cases, this will return the same bounding box as Entity:WorldSpaceAABB unless it was changed by Entity:SetSurroundingBounds or Entity:SetSurroundingBoundsType.

Returns

1 Vector
The minimum vector for the entity's bounding box in world space.
2 Vector
The maximum vector for the entity's bounding box in world space.