# sm.camera.setShake

Sets the camera's level of camera shake.

**Kind:** Function

**Environments:** Game

## Game

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

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

**Availability:** Client only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `strength` | number | The camera shake strength. |
