Skip to content

RenderObjectBounds

Draw an object outline.

RenderObjectBounds(object[, color[, thickness]])

Inputs: object is an Object; optional color and numeric thickness configure the outline.

Output: No Lua return value. Drawing may be skipped when the view or minimap is unavailable.

Errors and unavailable states: An invalid or unreadable object, absent collision data, or unavailable view produces no drawing. Wrong Object userdata can raise a Lua argument error.

See Rendering overview for coordinate and color conventions.