---
name: "setPosASL2"
type: command
status: broken
groups: ["Broken Commands", "Positions"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/setPosASL2
revid: 378100
updated: 2026-02-13T10:46:49Z
---

# setPosASL2

*Command · Broken Commands, Positions · Arma 3 v0.50 · introduced in Arma 2 v1.00*

> [!WARNING]
> This command is listed as broken on the wiki.

## Description

Sets the object position. The pos array uses the [PositionASL](../topics/Position.md#positionasl) format.
The version of the command does not offset based on object center.

> [!WARNING]
> This command was deactivated and has no effect. Use [setPosWorld](../commands/setPosWorld.md) instead.

## Syntax

```sqf
obj setPosASL2 pos
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
private _aslPos = getPosASL player;
_aslPos set [1, _aslPos select 1 + 10];
player setPosASL2 _aslPos;
```

## See also

[setPosWorld](../commands/setPosWorld.md) · [getPosWorld](../commands/getPosWorld.md) · [setPosASL](../commands/setPosASL.md) · [getPosASL](../commands/getPosASL.md)

## Community notes

**Killzone_Kid** — 2013-08-21

This command appears to do nothing in both Arma 2 and Arma 3.

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