# ReleaseRequest

interface in `@dioramajs/diorama/effects`

```ts
import type { ReleaseRequest } from '@dioramajs/diorama/effects'
```

Payload of `effects:release`: a drawn copy's element left the document and nobody took it.

```ts
interface ReleaseRequest
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `drawn` | `DrawnBox` | Where and how the copy was last drawn. |
| `element` | `Element` | The element that left. |
| `visible` | `boolean` | The copy was in the viewport (with the effects' bleed) in its last frame. |
| `take` | `take(options?: Pick<TakeOptions, 'signal'>): Copy \| undefined` | Keeps the copy as a ghost. Undefined if an earlier handler took it. |

Also exported from `@dioramajs/effects`.

Defined in [packages/effects/src/types.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/effects/src/types.ts#L930).
