# Go

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

    p, _ := sdk.Get[sdk.AnimationPlayer](scene, node)
    p.Play(sdk.AnimClip{ID: runClip})
    sdk.AnimationOf(ctx).SetParam(hero, "Speed", 3)

`sdk.AnimationOf(ctx)` returns the service of the play world; `SetParam(node, name, value)` sets a parameter of an Animator by name, `true` and `false` as 1 and 0. The systems `animation.fixed` (PrePhysics, after `script.fixed` and the anchor `engine.intents`, before `engine.motion`) and `animation.sample` (Animation, always) advance and draw players and animators. A Go system that sets parameters or commands runs before `engine.intents`; a system that reads root motion runs after `engine.motion`.

Root motion reaches a character through the `motion2d.receiver` contract (`contracts/motion2d`), which Motion 2D provides; another controller can provide it too.
