# sm.camera.setUnseatDirection

Sets the world-space direction for the local player character to face when the player unseats. Cleared automatically when used or when entering a seat.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.camera.setUnseatDirection( worldDirection? )
```

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

**Availability:** Client only

Passing nil clears any previously set unseat direction.

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `worldDirection` *(optional)* | [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The world-space direction to face on unseat. (optional) |
