> ## Documentation Index
> Fetch the complete documentation index at: https://momentic.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# clearCamera

> Stop camera video playback and restore the default camera.

Stops the video feed started by
[`setCamera`](/docs/reference/mobile-commands/set-camera) and restores the default
simulator camera. It is safe to call even if no video is playing.

This command runs only on Momentic-hosted iOS simulators. It is not supported on
Android or on local simulators.

## Parameters

| Parameter | Type      | Required | Description                                                 |
| --------- | --------- | -------- | ----------------------------------------------------------- |
| `saveAs`  | `string`  | No       | Variable to store this step's return value on `env.<name>`. |
| `retries` | `number`  | No       | Times to retry the step on failure before failing the test. |
| `skipped` | `boolean` | No       | Skip this step at execution time.                           |

## Shorthand

A bare command with no options.

```yaml theme={null}
- clearCamera
```

## Related

* [`setCamera`](/docs/reference/mobile-commands/set-camera)
* [YAML format](/docs/core-concepts/test-format)
