# PlaceOptions

interface in `@dioramajs/diorama/effects`

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

Options of `ctx.place`.

```ts
interface PlaceOptions
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `dispose?` | `boolean` | Dispose geometry, materials and textures on detach. Default true, false for shared ones. |
| `fit?` | `'none' \| 'contain' \| 'box'` | 'box' (default) stretches a 1x1 object to the box, 'contain' scales it by min(width, height), 'none' keeps px units. |
| `replace?` | `boolean` | Use this object as the element's GL copy instead of the surface mesh. |

Also exported from `@dioramajs/effects`.

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