---
name: "posScreenToWorld"
type: command
status: ok
groups: ["Positions"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/posScreenToWorld
revid: 377564
updated: 2026-01-02T06:55:27Z
---

# posScreenToWorld

*Command · Positions · Arma 3 v0.50 · introduced in Armed Assault v1.00*

## Description

Converts map screen coordinates into world coordinates. Unlike [ctrlMapScreenToWorld](../commands/ctrlMapScreenToWorld.md), this command returns world position is format [x, y, 0], otherwise it is identical to it.

## Syntax

```sqf
map posScreenToWorld [x, y]
```

**Parameters:**

- `map`: [Control](../topics/Control.md) - map control
- `x`: [Number](../topics/Number.md) - screen X
- `y`: [Number](../topics/Number.md) - screen Y

**Returns:** [Position3D](../topics/Position.md#introduction) - world position in format [x,y,0]

## Examples

### Example 1

```sqf
_worldCoord = _control posScreenToWorld _ScreenCoord;
```

### Example 2

```sqf
_worldCoord = _control posScreenToWorld [_x, _y];
```

### Example 3

```sqf
_worldCoord = _control posScreenToWorld [0.5, 0.5];
```

## See also

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

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