# Joint.getLocalRotation

Returns the local rotation of a joint.

**Kind:** Function

**Environments:** Game

## Game

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

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

**Parameters:**

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

**Returns:**

| Type | Description |
| --- | --- |
| [Quat](../Game-Script-Environment/Userdata/Quat.md) | The joint's local rotation. |
