---
name: "ctrlMapWorldToScreen"
type: command
status: ok
groups: ["GUI Control - Map"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/ctrlMapWorldToScreen
revid: 378320
updated: 2026-04-02T16:18:50Z
---

# ctrlMapWorldToScreen

*Command · GUI Control - Map · Arma 3 v0.50 · introduced in Armed Assault v1.05*

## Description

Converts world coordinates into map screen coordinates. This command is identical to [posWorldToScreen](../commands/posWorldToScreen.md).

## Syntax

```sqf
control ctrlMapWorldToScreen position
```

**Parameters:**

- `control` : [Control](../topics/Control.md) - map control
- `position` : [Position2D](../topics/Position.md#introduction) or [Position3D](../topics/Position.md#introduction) - world position

**Returns:** [Position2D](../topics/Position.md#introduction) - screen coordinates in format [x, y]

## Examples

### Example 1

```sqf
_screenCoord = _control ctrlMapWorldToScreen _worldCoord;
```

### Example 2

```sqf
_screenCoord = _control ctrlMapWorldToScreen position player;
```

## See also

[ctrlMapScreenToWorld](../commands/ctrlMapScreenToWorld.md) · [posWorldToScreen](../commands/posWorldToScreen.md)

<sub>Source: [BI Community Wiki — ctrlMapWorldToScreen](https://community.bistudio.com/wiki/ctrlMapWorldToScreen) (revision 378320).</sub>
