# sm.camera.getRotation

Returns the world rotation of the camera.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.camera.getRotation(  )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.camera.md#getrotation)

**Availability:** Client only

**Returns:**

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