AnimationRepetitions
is an option to Animate and related functions that specifies how many times the animation they create runs before stopping.
Details

- AnimationRepetitions->Infinity specifies that the animation should keep running until stopped by clicking a button.
- The setting for AnimationRepetitions does not need to be an integer.
Examples
Basic Examples (2)
Control the number of animation cycles in Animate:
Control the number of animation cycles in ListAnimate:
Wolfram Research (2007), AnimationRepetitions, Wolfram Language function, https://reference.wolfram.com/language/ref/AnimationRepetitions.html.
Text
Wolfram Research (2007), AnimationRepetitions, Wolfram Language function, https://reference.wolfram.com/language/ref/AnimationRepetitions.html.
CMS
Wolfram Language. 2007. "AnimationRepetitions." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/AnimationRepetitions.html.
APA
Wolfram Language. (2007). AnimationRepetitions. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AnimationRepetitions.html