For infinite loop let in the .JS set "loop: true". For one cyclus of animation set "loop: false"./p>
Animate an animation on each click.
Segments: array. Can contain 2 numeric values that will be used as first and last frame of the animation. Or can contain a sequence of arrays each with 2 numeric values.
ForceFlag: boolean. If set to false, it will wait until the current segment is complete. If true, it will update values immediately.