ReferenceScripting APIMotionMathsease
MotionMaths.ease
methodHow far along an easing is: as scene.animate eases.
| Name | ease |
|---|---|
| Kind | method of MotionMaths |
| Called as | maths.ease(…) |
| As a node | Ease (logic graph) |
| Since | 0.4 |
Syntax
ease( name: Easing & string, t: number): numberParameters
| Name | Type | Description |
|---|---|---|
name | Easing & string | The easing's name |
t | number | 0 to 1 |
Returns
number: how far along (past 1 for those that overshoot).
Remarks
Throws for a name there's no easing for.
See also
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.