Skip to content

Api > Animator > IsParameterControlledByCurve()


Animator.IsParameterControlledByCurve(string name)⚓︎

Returns true if the parameter is controlled by a curve, false otherwise.

Parameters:⚓︎

Name Type Description
name string The parameter name.

Returns:⚓︎

type Description
boolean True if the parameter is controlled by a curve, false otherwise.

Usage⚓︎

---@type Animator
local animator;

---@type string
local name;


local val0 = animator.IsParameterControlledByCurve(name)