# sm.camera.setSeatLockedLocalDirection

Sets the local direction for the camera when using the seatLockedCamera camera state.

**Kind:** Function

**Environments:** Game

## Game

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

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

**Availability:** Client only

The direction is in the seat's local space and will be transformed by the interpolated seat rotation.

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `localDirection` | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The local direction to face. |
