ReferenceScripting APIMotionMathssmoothstep
MotionMaths.smoothstep
method0 below e0, 1 above e1, smooth between.
| Name | smoothstep |
|---|---|
| Kind | method of MotionMaths |
| Called as | maths.smoothstep(…) |
| As a node | Smoothstep (logic graph) |
| Since | 0.4 |
Syntax
smoothstep( e0: number, e1: number, x: number): numberParameters
| Name | Type | Description |
|---|---|---|
e0 | number | Where it starts rising |
e1 | number | Where it's risen |
x | number | The value |
Returns
number: 0 to 1.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.