The same three words for a sprite’s run, a model’s movement and a tween. repeat is how many extra times it goes after the first, so 2 is three times and a negative number is for ever. yoyo: true comes back the other way each time, showing each end once. onRepeat((clip, times) => …) says each time it starts again, and onEnd still says the last.
On the left, a walk of six pictures played with yoyo: a pace forward and one back, and the way back is never drawn. In the middle, an attack with repeat: 2: three blows and it stops, counted by onRepeat. Space starts it again. On the right, a lamp that a tween dims and lights again for ever, counting its blinks.
With no repeat, a run’s loop still says for ever or once. A run in an .atlas file takes repeat and yoyo too. Marks (events) are passed on the way there, not on the way back.