# @dioramajs/model/rig

How model shares its placed scene with the effects that work on it.

## Functions and values

- [publish](/docs/api/diorama-model-rig/publish.md): Called by `model`: the element's rig, or undefined when it goes.
- [rigOf](/docs/api/diorama-model-rig/rig-of.md): The element's rig now, if `model` placed one.
- [watchRig](/docs/api/diorama-model-rig/watch-rig.md): Calls `listener` with the element's rig now if there is one, then on every change: a new rig when `model` rebuilds, undefined when it goes. Stops with the signal.

## Types

- [Rig](/docs/api/diorama-model-rig/types/rig.md): The placed model of an element, as `model` publishes it.
