---
name: "getPosWorld"
type: command
status: ok
groups: ["Positions"]
arma3_since: "1.32"
locality: {"argument": "global", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/getPosWorld
revid: 377455
updated: 2026-01-02T06:47:19Z
---

# getPosWorld

*Command · Positions · Arma 3 v1.32*

Locality: arguments **global**

## Description

Returns the provided object's model centre position ([0,0,0]) in [PositionASL](../topics/Position.md#positionasl), rather than the transformed [boundingCenter](../commands/boundingCenter.md) or LandContact vertices.

## Syntax

```sqf
getPosWorld object
```

**Parameters:**

- `object`: [Object](../topics/Object.md)

**Returns:** [PositionASL](../topics/Position.md#positionasl) - **the model's centre**

## Examples

### Example 1

```sqf
_obj setPosWorld getPosWorld _obj;
```

### Example 2

```sqf
ATLToASL (_groundObj modelToWorld [0,0,0]) isEqualTo getPosWorld _groundObj; // true
```

### Example 3

Wave height under a boat:

```sqf
private _h = ((boat modelToWorld [0,0,0]) vectorDiff getPosWorld boat) select 2;
```

## See also

[getPosWorldVisual](../commands/getPosWorldVisual.md) · [setPosWorld](../commands/setPosWorld.md) · [position](../commands/position.md) · [getPosATL](../commands/getPosATL.md) · [getPosASL](../commands/getPosASL.md) · [getPosASLW](../commands/getPosASLW.md) · [visiblePosition](../commands/visiblePosition.md) · [visiblePositionASL](../commands/visiblePositionASL.md) · [getMarkerPos](../commands/getMarkerPos.md) · [modelToWorld](../commands/modelToWorld.md)

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