Skip to content

WorldToMinimap

Read worldtominimap from the current render or game view.

WorldToMinimap(worldPosition)

Inputs: worldPosition is a world { x, y, z } value.

Output: Minimap Vector2, or nil.

Errors and unavailable states: Returns nil if the minimap projection is unavailable or during a capture-only pass. A non-table position can raise a Lua indexing error; missing or non-numeric coordinates read as 0.

See Rendering overview for coordinate and color conventions.