# Joint.getAngularVelocity

Returns the angular velocity of a bearing.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
joint:getAngularVelocity(  )
```

[Open the full Game reference](../Game-Script-Environment/Userdata/Joint.md#getangularvelocity)

The angular velocity can be set using [setMotorVelocity](../Game-Script-Environment/Userdata/Joint.md#setmotorvelocity) or [setTargetAngle](../Game-Script-Environment/Userdata/Joint.md#settargetangle).

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `bearing` | [Joint](../Game-Script-Environment/Userdata/Joint.md) | The bearing. |

**Returns:**

| Type | Description |
| --- | --- |
| number | The bearing's angular velocity. |
