Mix

Select or interpolate between multiple inputs.

What it does

Mix picks or blends between any number of option inputs. Start with one and click the + socket to add more; images, colours, shapes, geometry, numbers and most other value types are accepted. Operation sets how the options combine: Index picks one by a numeric slot, Match picks the option whose value equals a probe, Boolean routes between exactly two options with a true/false switch, Sum adds every option together with an optional weighted average, and Additive blends per-target deltas from a base using a weight per target.

In Index mode, turning on Blend treats Index as a fractional value and cross-fades between the two adjacent options instead of hard-switching. On two matching shapes this travels between their outlines as a shape key; on two matching meshes it morphs the surface; on mismatched types, a shape and an image say, it blends through a shared distance field so the transition still reads as one shape becoming another.

When to use it

ParameterTypeDefault
operationString"Index"
indexNumber0
match_valueAny
conditionOneOf([Boolean, Number])
blendBooleanfalse
factorOneOf([Curve])
blend_placementBooleantrue
weightsOneOf([NumberArray])
master_weightNumber1
normalizeBooleanfalse
n_optionsNumber0
strengthNumber1

Gotchas

Match compares whole option values, not indices. It selects the first option whose value equals Match Value, and falls back to the first option when nothing matches.

Blend Placement affects the shape-key case only, blending between two matching shapes. It has no effect on meshes, images or other option types.

In Additive mode, weights is offset by one: weights[0] controls the second option (option_1), not the first. The first option is always the unweighted base that the others blend deltas onto.

Worked example

  1. Add a Mix node. Wire two images into the option sockets (click + to add the second).

  2. Set Operation to Index and turn on Blend.

  3. Animate Index from 0 to 1 to cross-fade smoothly between the two images.

  4. Switch Operation to Boolean and wire a condition to snap-switch between them instead of blending.

See also

Conditional · Hold · Fit · Rasters (images)