---
name: "setAnimSpeedCoef"
type: command
status: ok
groups: ["Animations", "Stamina System"]
arma3_since: "1.54"
locality: {"argument": "global", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/setAnimSpeedCoef
revid: 379464
updated: 2026-10-31T00:10:00Z
---

# setAnimSpeedCoef

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

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

## Description

Sets a coefficient for animation speed (0.5 will play animations half the speed, 2 twice the speed).\
Doesn't affect upper body animations (reloading, etc.)

## Syntax

```sqf
unit setAnimSpeedCoef coef
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
player setAnimSpeedCoef 0.75;
```

## See also

[Arma 3: Stamina](../topics/Stamina.md) · [getAnimSpeedCoef](../commands/getAnimSpeedCoef.md) · [setAccTime](../commands/setAccTime.md)

## Community notes

**Demellion** — 2016-11-14

Increasing animation speed of a unit also increases its run/walk speed (thanks to Killzone_Kid)

---

**Demellion** — 2016-11-27

Setting negative values with this makes animations act in reverse or make you stuck sliding in unknown directions.

---

**DrSova** — 2018-11-07

Didn't work on animals (A3 1.84.144923)

---

**nomisum** — 2019-11-14

Must be executed on all clients to work properly in MP (otherwise only movement speed is adjusted, not animation itself)

---

**Waffle SS.** — 2021-10-30

For animation speed to control unit speed, this must be executed on the local client.
Non-local clients can set a speed less than the local client's.
Non-local clients using an animation speed greater than the local client's may result in the animation freezing.

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