# sm.camera.getDirection

Returns the direction the camera is aiming.

**Kind:** Function

**Environments:** Game

## Game

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

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

**Availability:** Client only

**Returns:**

| Type | Description |
| --- | --- |
| [Vec3](../Game-Script-Environment/Userdata/Vec3.md) | The direction of the camera's aim. |
