Skip to content

Components

AnimationLayers

Runs two animations at once on one character, one per body part: the legs keep running while the arms swing. Goes on the character's root and decides which clip each part shows and how much of it, layered bottom to top.

On this page

Add it

+ Add node → Animation Layers creates a node with it already on. Already have a node for it? Add component → AnimationLayersComponent.

Fields

FieldScript nameKindDefaultWhat it does
LayerslayerslistemptyThe layers, bottom first.
FieldScript nameKindDefaultWhat it does
NamenametextnoneHow game code names this layer: base, upper, recoil.
ClipcliptextnoneThe clip this layer plays, or starts on when a graph drives it.
GraphgraphassetnoneThe .asm graph driving this layer, if any.
Weightweightnumber, 0 to 1none1 replaces what is below, 0 switches the layer off.
Blendblendone of Override, AdditivenoneAdditive means something only to property tracks; the sprite half ignores it.
Mask Nodesmask_nodeslistnoneChild node names this layer may move. Empty means every node.