Skip to content

Api > AnimationCurve > Constructor


AnimationCurve()⚓︎

Creates an empty animation curve.

Usage⚓︎

local animationcurve = AnimationCurve();

Parameters:⚓︎

Name Type Description
keys Keyframe[] An array of Keyframes used to define the curve.

Usage⚓︎

---@type Keyframe
local keys;


local animationcurve = AnimationCurve(keys);