---
name: "speed"
type: command
status: ok
groups: ["Object Manipulation"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/speed
revid: 376345
updated: 2025-10-07T16:59:25Z
---

# speed

*Command · Object Manipulation · Arma 3 v0.50 · introduced in Operation Flashpoint v1.00*

## Description

Object speed (in km/h). Returns relative speed of given object along Y axis. An equivalent to: `3.6 * (velocityModelSpace _obj select 1)`

## Syntax

```sqf
speed object
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
if (speed _truck1 >= 100) then { hint "You're going too fast!" };
```

### Example 2

```sqf
if ((speed objectParent player) < 0) then { hint "You're going reverse!" };
```

## See also

[velocity](../commands/velocity.md) · [setVelocity](../commands/setVelocity.md) · [velocityModelSpace](../commands/velocityModelSpace.md) · [setVelocityModelSpace](../commands/setVelocityModelSpace.md) · [setVelocityTransformation](../commands/setVelocityTransformation.md) · [limitSpeed](../commands/limitSpeed.md)

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