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

# setPosASLW

*Command · Positions · Arma 3 v0.50*

Locality: arguments **global** · effect **global**

## Description

Sets the object position above sea surface. The pos array uses the [PositionASLW](../topics/Position.md#positionaslw) format.

## Syntax

```sqf
obj setPosASLW pos
```

**Parameters:**

- `obj`: [Object](../topics/Object.md)
- `pos`: [PositionASLW](../topics/Position.md#positionaslw)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
_diver setPosASLW [(position _diver) select 0, (position _diver) select 1, -10];
```

## See also

[getPosASLW](../commands/getPosASLW.md) · [setPosASL](../commands/setPosASL.md) · [setPosATL](../commands/setPosATL.md) · [setPos](../commands/setPos.md) · [setPosWorld](../commands/setPosWorld.md)

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