Animator:setSpeed

Sets the speed factor for an animation or the Animator's global speed factor.

Set the speed of a specific animation.

Animator:setSpeed(name, speed)

Arguments

NameTypeDescription
namestringThe name of the animation.
speednumberThe new speed multiplier.

Returns

Nothing


Set the global speed multiplier for the Animator.

Animator:setSpeed(speed)

Arguments

NameTypeDescription
speednumberThe new speed multiplier.

Returns

Nothing

See also