# animator-layer-unknown

> Talos 0.7 · Since 0.7

`play(name, { layer })`, `layerWeight` or `stopLayer` named a layer the animator component does not declare in `layers`, or the entity has no animator (`AnimatorLayerError`)

| | |
|---|---|
| Severity | `error` |

## Meaning

`play(name, { layer })`, `layerWeight` or `stopLayer` named a layer the animator component does not declare in `layers`, or the entity has no animator (`AnimatorLayerError`)

## Fix

declare the layer in the animator component's `layers`, or use one it declares; the message lists them
