Skip to main content

AnimationCurve.Evaluate(number time)

Evaluate the curve at time.

Parameters:

NameTypeDescription
timenumberThe time within the curve you want to evaluate (the horizontal axis in the curve graph).

Returns:

typeDescription
numberThe value of the curve, at the point in time specified.

Usage

---@type AnimationCurve
local animationcurve;

---@type number
local time;


local val0 = animationcurve.Evaluate(time)