---
url: >-
  https://canary.warp-drive.io/api/@warp-drive/holodeck/functions/setIsRecording.md
description: >-
  Overrides at runtime whether Holodeck mocks are recorded to fixtures, in place
  of the build-time `SHOULD_RECORD` flag.
---

# &#x20;setIsRecording()

```ts
function setIsRecording(value: boolean): void;
```

Defined in: [index.ts:257](https://github.com/warp-drive-data/warp-drive/blob/48dc0d277b98008082669dadc6a52e5c5682ef8e/packages/holodeck/src/index.ts#L257)

## Parameters

### value

`boolean`

## Returns

`void`
