aninest root / module:Interp / getProgress
getProgress()
ts
function getProgress(t, duration): number
Gets the linear progress of an animation based on time and duration, clamped between 0 and 1.
Parameters
• t: number
• duration: number
Returns
number