---
name: "getSpeed"
type: command
status: ok
groups: ["Object Manipulation"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/getSpeed
revid: 347558
updated: 2023-09-28T09:45:46Z
---

# getSpeed

*Command · Object Manipulation · Arma 3 v0.50 · introduced in Armed Assault v1.00*

Locality: arguments **global**

## Description

Get the speed for the given speed mode.

SpeedMode can be:
- "AUTO"
- "SLOW"
- "NORMAL"
- "FAST"

## Syntax

```sqf
object getSpeed speedMode
```

**Parameters:**

- `object`: [Object](../topics/Object.md)
- `speedMode`: [String](../topics/String.md)

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

## Examples

### Example 1

```sqf
_spd = player getSpeed "FAST";
```

## See also

[forceWalk](../commands/forceWalk.md) · [isWalking](../commands/isWalking.md) · [forceSpeed](../commands/forceSpeed.md) · [isForcedWalk](../commands/isForcedWalk.md)

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