I just figured out an onYoyo callback is executed for every target in the tween. I’ve created a tween with 2 targets but only want onYoyo to be called once, is there a way to do this? Right now I solved it by creating 2 tweens, but that’s obviously not my preferred way.
I guess you could check target === tween.targets[0]
in the callback.
1 Like
I don’t understand. Please, explain to me