# Animation Blend BlendSpace1D, crossfade, and keyframe events. ```{raw} html ▶ Run in browser ``` **Tags:** `3d` A cube's vertical position is driven by a BlendSpace1D that blends between an *idle* clip (gentle bob) and a *bounce* clip (big jumps). Press **Up/Down** to adjust the blend parameter. Press **Space** to crossfade between two colour-tint animations. Keyframe events print to stdout when triggered. Controls: Up/Down - Adjust blend parameter (idle <-> bounce) Space - Crossfade between colour clips Escape - Quit ## Source ```{literalinclude} ../../examples/features/3d/animation_blend.py :language: python :linenos: ```