---
url: /api/kiln/variables/Animator.md
---
[Kiln API](../../index.md) / [kiln](../index.md) / Animator

# Variable: Animator

```ts
const Animator: Trait<() => ModelAnimation>;
```

Plays glTF animation clips through an animation graph on a per-entity AnimationMixer:
`commands.spawn(Transform, Model(assets.gltf('models/hero.glb')), animator({ graph: HeroAnim }))`.
Rows from `Mut(Animator)` take `set(param, v)`, `trigger(name)`, `play(state, { fade })`.
