Studio and Graph › Math
Lerp (A to B)
Blends from A to B by Alpha. 0 gives you A, 1 gives you B.

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. |
Available in Mesh Morpher Graph and Mesh Morpher Studio.