# Sandbox.Animation.GraphBuilder.LayersBuilder

A layer stack being built, created by [Sandbox.Animation.GraphBuilder.Layers](/api/Sandbox.Animation.GraphBuilder/Layers). Layers apply in the
order added, each blending over the result of the ones below it.

- Kind: class
- Assembly: `Sandbox.Engine`
- Modifiers: sealed

## Methods

- [`AddLayer`](/api/Sandbox.Animation.GraphBuilder.LayersBuilder/AddLayer): Add a layer playing `input`.
- [`AddStateMachineLayer`](/api/Sandbox.Animation.GraphBuilder.LayersBuilder/AddStateMachineLayer)
- [`IncludeLayerRootMotion`](/api/Sandbox.Animation.GraphBuilder.LayersBuilder/IncludeLayerRootMotion): Include root motion sampled by layers instead of sampling it only from the base pose. Supplying a root-motion weight to [Sandbox.Animation.GraphBuilder.LayersBuilder.AddLayer](/api/Sandbox.Animation.GraphBuilder.LayersBuilder/AddLayer) enables this automatically.
