Sets whether animation should loop indefinitely when it reaches the end.
whether to loop the animation
Sets whether animation should loop indefinitely when it reaches the end.