Optional
Any new animation passed the same cancelKey cancels the prior one in flight. Also enables animator.cancelKey / animator.isActive(key) for this loop.
animator.cancelKey
animator.isActive(key)
Maximum number of iterations. Default Infinity.
Invoked when the loop reaches count iterations naturally (not on cancel).
count
Any new animation passed the same cancelKey cancels the prior one in flight. Also enables
animator.cancelKey/animator.isActive(key)for this loop.