Function NumSpriteAnimationLoops(sprite)
Returns the number of animation loops the actor has set
Related: SetSpriteAnimationLoops SetSpriteAnimation