ReferenceScript nodesMath › Number
Inverse Lerp
How far Value is from the smaller of Range Min and Range Max to the larger: 0 at it, 1 at the larger (Range Min and Range Max the same: 0 below, 1 at or above).
ƒInverse Lerp
Range Min0Result
Range Max10
Value5
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
Range Mina | number | 0 | – |
Range Maxb | number | 10 | – |
Valuex | number | 5 | – |
Outputs
| Pin | Type |
|---|---|
Resultout | number |
In a graph
◆On Scene Start
ƒInverse Lerp
Range Min0Result
Range Max10
Value5
ƒPrint
In Text
The node with what starts it and Print to show what it gives, as Studio draws them.
Related
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.