---
name: "unitAimPosition"
type: command
status: ok
groups: ["Object Manipulation", "Positions"]
arma3_since: "1.64"
locality: {"argument": "global", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/unitAimPosition
revid: 378159
updated: 2026-02-26T16:15:33Z
---

# unitAimPosition

*Command · Object Manipulation, Positions · Arma 3 v1.64*

Locality: arguments **global**

## Description

Returns the position on the unit other units can aim at. Same as [aimPos](../commands/aimPos.md) only returns position in [PositionAGL](../topics/Position.md#positionagl) format and has render scope alternative [unitAimPositionVisual](../commands/unitAimPositionVisual.md).

## Syntax

```sqf
unitAimPosition unit
```

**Parameters:**

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

**Returns:** [PositionAGL](../topics/Position.md#positionagl)

## Examples

### Example 1

```sqf
private _aimPosAGL = unitAimPosition player;
```

## See also

[unitAimPositionVisual](../commands/unitAimPositionVisual.md) · [aimPos](../commands/aimPos.md) · [eyePos](../commands/eyePos.md) · [getPosASL](../commands/getPosASL.md) · [weaponDirection](../commands/weaponDirection.md)

## Community notes

**Sa-Matra** — 2023-03-27

This command uses "zamerny" memory point which is hardcoded name in the engine. If memory point is not present then geometry LOD bounding center is used (according to dedmen)

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