# Joint.getWorldRotation

Returns the world rotation of a joint.

**Kind:** Function

**Environments:** Game

## Game

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

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

**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 world rotation. |
