Animator:setLooping

Sets whether an animation loops.

Animator:setLooping(animation, loop)

Arguments

NameTypeDescription
animationstringThe name of the animation.
loopbooleanWhether the animation should loop.

Returns

Nothing

See also