Layers play at the same time as the machine's own graph (the Base), each over the ones before it: the upper body swings a sword while the legs run, an aiming pose fades in over any movement, breathing is added on top of everything.
- Add Layer (⌃⌥⌘Y, or + Layer in the layer bar over the graph) makes one with a resting state and shows it. Click a tab to show a layer's graph: it has its own states, transitions, any-state list and sub-state machines, and reads the machine's parameters. A state with no clip plays nothing, so the layer has no effect while it rests there.
- With nothing chosen, the inspector shows the layer: Weight (0 to 1), Times a float parameter (the game fades the layer with
anim_set_param), Blend: Override (its clips replace what is under it, by its weight) or Additive (their movement from their first frame is added on top), and the Bone Mask: tick a bone to move only it and every bone under it (for a Bones skeleton or a 3D model; none ticked: the whole body). Delete Layer takes it out. - In the game: Bones layers play on the tracks after the base's, masked and additive as set; a 3D model is posed by the machine with every clip and layer blended; sprites don't blend, so an override layer at half its weight or more shows its clip instead of the base's.
anim_layers(machine)lists each layer's state, weight and clips;anim_layer_state(machine, "Upper Body")gives one's state. - Masked and additive Bones layers move bones only: attachments, colours and draw order come from the layers under them.
Related topics
Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.