>wowhelm_
~/forever/addon-api/function/C_Map.GetPlayerMapPosition

C_Map.GetPlayerMapPosition

documented function · MapUI
C_Map.GetPlayerMapPosition(uiMapID, unitToken) : position

Only works for the player and party members.

──ARGUMENTS
uiMapID
number
unitToken
UnitToken
──RETURNS
position
vector2 (Vector2DMixin), optional
──DETAILS
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.