Motion
Get Motion

ReferenceScripting APIMotionMathsease

MotionMaths.ease

method

How far along an easing is: as scene.animate eases.

Nameease
Kindmethod of MotionMaths
Called asmaths.ease(…)
As a nodeEase (logic graph)
Since0.4

Syntax

ease(    name: Easing & string,    t: number): number

Parameters

NameTypeDescription
nameEasing & stringThe easing's name
tnumber0 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

Easing