Api > AnimationCurve > Evaluate()
AnimationCurve.Evaluate(number time)⚓︎
Evaluate the curve at time
.
Parameters:⚓︎
Name | Type | Description |
---|---|---|
time | number | The time within the curve you want to evaluate (the horizontal axis in the curve graph). |
Returns:⚓︎
type | Description |
---|---|
number | The value of the curve, at the point in time specified. |
Usage⚓︎
---@type AnimationCurve
local animationcurve;
---@type number
local time;
local val0 = animationcurve.Evaluate(time)