Garry's Mod Wiki

Entity:GetRenderBounds

  Vector, Vector Entity:GetRenderBounds()

Description

Returns render bounds of the entity as local vectors. Can be overridden by Entity:SetRenderBounds.

If the render bounds are not inside players view, the entity will not be drawn!

Returns

1 Vector
The minimum vector of the bounds
2 Vector
The maximum vector of the bounds.