Description
Converts map screen coordinates into world coordinates. Unlike posScreenToWorld, this command returns world position is format [x, y], otherwise it is identical to posScreenToWorld.
Syntax
control ctrlMapScreenToWorld [x, y]
Parameters:
Returns: Position2D - world coordinates
Examples
Example 1
_worldCoord = _control ctrlMapScreenToWorld _ScreenCoord;
Example 2
_worldCoord = _control ctrlMapScreenToWorld [_x, _y];
Example 3
_worldCoord = findDisplay 12 displayCtrl 51 ctrlMapScreenToWorld [0.5, 0.5];
See also
ctrlMapWorldToScreen · posScreenToWorld · posWorldToScreen · findDisplay · displayCtrl