Skip to main content

Animator.SetFloat(string name, number value, number dampTime, number deltaTime)

Send float values to the Animator to affect transitions.

Parameters:

NameTypeDescription
namestringThe parameter name.
valuenumberThe new parameter value.
dampTimenumberThe damper total time.
deltaTimenumberThe delta time to give to the damper.

Usage

---@type Animator
local animator;

---@type string
local name;

---@type number
local value;

---@type number
local dampTime;

---@type number
local deltaTime;


animator.SetFloat(name, value, dampTime, deltaTime)

sure applied.