# Animation Blending: Mixing States for Smooth, Natural Motion

> Animation blending mixes two or more animations at once, weighted by a value. Instead of switching from "walk" to "run", a character blends between them by speed; instead of separate "sad", "neutral" and "happy" faces, a mascot blends by mood. Blending gives smooth in-between results from a few source animations, and is used in game engines and interactive UI tools alike.

Updated November 2026. Source: https://www.exodeui.com/learn/animation-blending/

## Key takeaways

- Blending mixes animations by a weight; switching replaces one with another
- Use 1D blends for one value, 2D for two (such as x and y)
- Keep blended poses structurally compatible
- Smooth the driving value to avoid jitter

## Switching vs blending

A basic state machine switches: one state plays, then a transition moves to the next. Blending plays several animations together and mixes their results. Use switching for distinct modes such as "loading" and "done". Use blending for continuous qualities such as speed, direction, mood or intensity.

## One-dimensional and two-dimensional blends

Game engines call this a blend tree. Unity's documentation describes 1D blends driven by one parameter and 2D blends driven by two.

- 1D: idle, walk and run blended by speed; a mood face blended by happiness
- 2D: eyes looking in nine directions blended by pointer x and y
- Additive: a breathing loop layered on top of whatever else plays

## Designing animations that blend well

Blended animations need to be compatible: the same parts, the same structure and, for loops, matching lengths or synchronised timing. If one pose rotates an arm 350 degrees and another rotates it 10, the blend may spin the wrong way. Keep poses close enough that the halfway point looks plausible, and check several in-between values, not only the endpoints.

## Blending in product UI

Blending is not only for games. A cursor-following mascot blends look poses by pointer position. A slider can blend an illustration from calm to excited. A loading character can blend its speed with progress. The value usually comes from your app, smoothed with a spring so it does not jitter.

## Building this in ExodeUI

In ExodeUI, which we make, blending pairs naturally with inputs: a number input such as mood or pointer position drives the blend, and a spring smooths it. Our cursor-following mascot is a working example you can open, with a look blend and an independent blink layer.

## Frequently asked questions

### What is a blend state?

A state that plays several animations at once and mixes them according to one or more input values.

### What is a blend tree?

Unity's name for a structure that blends animations by parameters, commonly used for locomotion such as walk and run.

### Can I blend UI animations, not just characters?

Yes. Anything with a continuous value, such as progress, mood or intensity, can blend between a few designed extremes.

### Why does my blend look wrong in the middle?

The source poses are probably too different, for example rotating in opposite directions. Bring them closer or add an in-between pose.

## Related

- [Cursor-following mascot](https://www.exodeui.com/components/cursor-following-mascot/)
- [State machine UI](https://www.exodeui.com/learn/state-machine-ui/)
- [Best state machine animation tools](https://www.exodeui.com/best-state-machine-animation-tools/)
- [Idle animations for UI characters](https://www.exodeui.com/learn/idle-animation-ui-characters/)
