Print view · Lerp (A to B) · 1 pageChoose "Save as PDF" as the destination in the print dialog.
Back to the docs

Mesh Morpher documentation

Lerp (A to B)

1 page · exported 2026-09-06 · https://meshmorpher.com/docs/studio-and-graph/math/lerp-a-to-b

Studio and Graph › Math

Lerp (A to B)

Blends from A to B by Alpha. 0 gives you A, 1 gives you B.

Lerp (A to B) node

The Lerp (A to B) node

When to use it

Blends from A to B by Alpha. 0 gives you A, 1 gives you B.

Dial a computed setting between two values you trust, or drive one number from another node's normalised output.

Alpha is not clamped, on purpose, so anything outside 0 to 1 extrapolates past the endpoints. If that is not what you want, put a Clamp in front of the alpha rather than expecting this node to contain it.

Pins

Pin Type Description
A Number What you get at Alpha 0. Leave it unwired and the panel value is used.
B Number What you get at Alpha 1. Leave it unwired and the panel value is used.
Alpha Number How far along you are between A and B. Go past 0 or 1 and it keeps going.
Pin Type Description
Result Number A blended towards B.

Settings

Setting Type Description
A Number What you get at Alpha 0. The A pin overrides it.
B Number What you get at Alpha 1. The B pin overrides it.
Alpha Number How far along you are between A and B. Nothing stops you going past either end.