# Questions about images that can be switched to other images

**URL:** <https://community.thunkable.com/t/questions-about-images-that-can-be-switched-to-other-images/1936216>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [June 22, 2022, 4:52pm UTC](https://community.thunkable.com/t/questions-about-images-that-can-be-switched-to-other-images/1936216 "2022-06-22T16:52:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![c314171868](https://avatars.discourse-cdn.com/v4/letter/c/e68b1a/32.png) [@c314171868](https://community.thunkable.com/u/c314171868)\
**Post date:** [June 22, 2022, 4:52pm UTC](https://community.thunkable.com/t/questions-about-images-that-can-be-switched-to-other-images/1936216/1 "2022-06-22T16:52:30Z")

</div>

[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.

---

<div class="post-metadata">

**Author:** ![zander](https://avatars.discourse-cdn.com/v4/letter/z/ecb155/32.png) [@zander](https://community.thunkable.com/u/zander)\
**Post date:** [June 23, 2022, 1:35am UTC](https://community.thunkable.com/t/questions-about-images-that-can-be-switched-to-other-images/1936216/2 "2022-06-23T01:35:46Z")

</div>

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 🙂

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/a/aa48a6a474f66ce006fd35a677931b05235279b8.png)  
e

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [September 21, 2022, 1:35am UTC](https://community.thunkable.com/t/questions-about-images-that-can-be-switched-to-other-images/1936216/3 "2022-09-21T01:35:56Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
