# sm.challenge.takePicturesForMenu

Takes pictures of the challenge level to use as icon and preview.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.challenge.takePicturesForMenu( rotation )
```

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

**Availability:** Server only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `rotation` | integer | Rotation step. |
