Hello! I am trying to change an image on click, however this image is inside of a tween timeline. It is a one of series of images that will move in a sequence, in an infinite loop.
On clicking the image, I want the image to change and have that particular tween pause/end until the loop repeats.
I am creating a tween timeline using code similar to this example: https://phaser.io/examples/v3/view/tweens/timelines/simple-timeline-8
I have set up click events for each target image defined inside of the “tweens” array (line 34, in that example link above)
I just need help figuring out how to change an image on click, but have it change back when the loop restarts.
Thanks in advance!