Animator:isLooping

Returns whether an animation is looping.

looping = Animator:isLooping(animation)

Arguments

NameTypeDescription
animationstringThe name of the animation.

Returns

NameTypeDescription
loopingbooleanWhether or not the animation is looping.

See also