API C Map.GetPlayerMapPosition

Returns the position of the given unit for a map. Only works for the player and party members. position = C_Map.GetPlayerMapPosition(uiMapID, unitToken)

Arguments

 * uiMapID : number : UiMapID
 * unitToken : string : UnitId

Returns

 * position : Vector2DMixin?

Examples
Prints the current map coords for the player.