# Root motion

> Aego 0.12.5 · development; docs build `4a32b816933e02930662f6a443cb25abe6050d090c55e237cbff5c44ae9b25f8`. [Build manifest](/docs-build.json).

A clip may move the character itself: its root track is `track "" prop="transform.position" kind=vec2 root=true`. An Animator does not write that track; it moves the node by how much the track changes in each step, so a walk cycle advances the character instead of snapping back at every loop.

| Root Motion | What moves |
|---|---|
| `none` | nothing; the root track is ignored |
| `toMotion` | the node, through its [Motion 2D](/ref/gameplay.Motion2D.md): walls stop it, slopes and steps carry it, the velocity stays as it is |
| `toTransform` | the node's position; a kinematic body is moved by its velocity |

Root Scale multiplies the motion in the parent's space: set its X to -1 while the character faces left, since flipping the sprite does not turn the node. With `toMotion` and no Motion 2D on the node, Root Fallback moves the transform instead; without it the motion is dropped ([ANM009](/diagnostics.html#ANM009.md)). During a blend the motion of the two states is mixed by the blend weight. Root motion runs in game time only.
