# Shape.getWorldRotation

Returns the world rotation of a shape.

**Kind:** Function

**Environments:** Game

## Game

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

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

**Parameters:**

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

**Returns:**

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