---
name: "getCustomAimCoef"
type: command
status: ok
groups: ["Stamina System"]
arma3_since: "1.54"
locality: {"argument": "global", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/getCustomAimCoef
revid: 338293
updated: 2023-02-26T18:30:34Z
---

# getCustomAimCoef

*Command · Stamina System · Arma 3 v1.54*

Locality: arguments **global**

## Description

Returns aimPrecision from animation state with custom value that will directly affects weapon sway size and speed.

## Syntax

```sqf
getCustomAimCoef unit
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
_coef = getCustomAimCoef player;
```

## See also

Arma 3: Stamina · [setCustomAimCoef](../commands/setCustomAimCoef.md)

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