Hello, use this lua code:
SetMapToCurrentZone();
continent = GetCurrentMapContinent();
SetMapZoom(continent);
local x, y = GetPlayerMapPosition('player');
local _, worldX, worldY = GetWorldLocFromMapPos(x, y);
To get z position, use wrobot function "float wManager.Wow.Helpers.PathFinder.GetZPosition(Vector3 point, bool strict = false)"