Skip to content

RenderMinimapLine

Draw a minimap line.

RenderMinimapLine(from, to, thickness[, color])

Inputs: from and to are world { x, y, z } values; thickness is a required number before optional color.

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

Errors and unavailable states: Required numeric arguments of the wrong type can raise a Lua argument error. Missing or non-numeric vector fields read as 0. If the minimap is unavailable, nothing is drawn.

See Rendering overview for coordinate and color conventions.