---
name: "weaponInertia"
type: command
status: ok
groups: ["Weapons"]
arma3_since: "1.48"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/weaponInertia
revid: 378476
updated: 2026-04-24T11:32:50Z
---

# weaponInertia

*Command · Weapons · Arma 3 v1.48*

## Description

Returns current rate of how much the weapon view is distorted because of quick aiming.

## Syntax

```sqf
weaponInertia unit
```

**Parameters:**

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

**Returns:** [Array](../topics/Array.md) with [x, y]
- x: Number - Amount of x-axis sway
- y: Number - Amount of y-axis sway

## Examples

### Example 1

```sqf
_inertia = weaponInertia player; //[-0.0126307,0.038023]
```

## See also

[getWeaponSway](../commands/getWeaponSway.md)

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