# Layer

interface in `@dioramajs/diorama/effects`

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

One per element with at least one live effect.

```ts
interface Layer
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `element` | `Element` | The element the layer follows. |
| `input` | `EffectInput` | Inputs of the element as numbers, shared by its effects. |
| `root` | `Group` | Group at the box centre, layout plus pose. The surface and objects from `place` live here. |

Also exported from `@dioramajs/effects`.

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