Questions about images that can be switched to other images

[Google translation]
I want to make a code that jumps to image 2 when image 1 is clicked and goes to image 1 when clicked again.
However, when I made the code using the variable, a problem occurred that the variable was initialized every time it was moved to another screen.
Please help.

1 Like

Something like this would work I did the when “screen opens” to make sure that the swap image doesn’t get messed up. project link Hope this helps :slight_smile:


e

2 Likes