# How to make a button affect another screen

**URL:** <https://community.thunkable.com/t/how-to-make-a-button-affect-another-screen/1032528>\
**Category:** Questions about Thunkable X\
**Created:** [December 11, 2020, 6:02am UTC](https://community.thunkable.com/t/how-to-make-a-button-affect-another-screen/1032528 "2020-12-11T06:02:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![surekchloek](https://avatars.discourse-cdn.com/v4/letter/s/ac91a4/32.png) [@surekchloek](https://community.thunkable.com/u/surekchloek)\
**Post date:** [December 11, 2020, 6:02am UTC](https://community.thunkable.com/t/how-to-make-a-button-affect-another-screen/1032528/1 "2020-12-11T06:02:05Z")

</div>

I have 3 screens, the title screen, the main screen, and a screen after that. On the last screen. I have a button that goes to the main screen. However, when I press the button I want it to not only navigate to the main screen I also want it to do an action on the main screen. However, I don’t want the action to happen when you first open it from the title screen. So basically make a button on the other screen affect the main screen. I know there is a thing called’broadcast message’ in scratch which means when it broadcasts you can make an action on any screen. Im wondering if there is something like that in thunkable. ty

---

<div class="post-metadata">

**Author:** ![eko.devs.apploroceo](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eko.devs.apploroceo/32/93147_2.png) [@eko.devs.apploroceo](https://community.thunkable.com/u/eko.devs.apploroceo)\
**Post date:** [December 11, 2020, 6:04am UTC](https://community.thunkable.com/t/how-to-make-a-button-affect-another-screen/1032528/2 "2020-12-11T06:04:04Z")

</div>

u mean a btn touch affect?

---

<div class="post-metadata">

**Author:** ![surekchloek](https://avatars.discourse-cdn.com/v4/letter/s/ac91a4/32.png) [@surekchloek](https://community.thunkable.com/u/surekchloek)\
**Post date:** [December 11, 2020, 6:05am UTC](https://community.thunkable.com/t/how-to-make-a-button-affect-another-screen/1032528/3 "2020-12-11T06:05:04Z")

</div>

idk what that means sry. I’m kinda new to thunkable

---

<div class="post-metadata">

**Author:** ![eko.devs.apploroceo](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eko.devs.apploroceo/32/93147_2.png) [@eko.devs.apploroceo](https://community.thunkable.com/u/eko.devs.apploroceo)\
**Post date:** [December 11, 2020, 6:06am UTC](https://community.thunkable.com/t/how-to-make-a-button-affect-another-screen/1032528/4 "2020-12-11T06:06:30Z")

</div>

i mean  
do u want button touch affect?

---

<div class="post-metadata">

**Author:** ![surekchloek](https://avatars.discourse-cdn.com/v4/letter/s/ac91a4/32.png) [@surekchloek](https://community.thunkable.com/u/surekchloek)\
**Post date:** [December 11, 2020, 6:07am UTC](https://community.thunkable.com/t/how-to-make-a-button-affect-another-screen/1032528/5 "2020-12-11T06:07:52Z")

</div>

oh no. I mean I want it so that when it goes back to the main screen the picture is different.

---

<div class="post-metadata">

**Author:** ![eko.devs.apploroceo](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eko.devs.apploroceo/32/93147_2.png) [@eko.devs.apploroceo](https://community.thunkable.com/u/eko.devs.apploroceo)\
**Post date:** [December 11, 2020, 6:09am UTC](https://community.thunkable.com/t/how-to-make-a-button-affect-another-screen/1032528/6 "2020-12-11T06:09:15Z")

</div>

> [@surekchloek](#):
>
> picture is different.

maybe u put wrong asset

---

<div class="post-metadata">

**Author:** ![jaythemanchs](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jaythemanchs/32/92809_2.png) [@jaythemanchs](https://community.thunkable.com/u/jaythemanchs)\
**Post date:** [December 11, 2020, 6:18am UTC](https://community.thunkable.com/t/how-to-make-a-button-affect-another-screen/1032528/7 "2020-12-11T06:18:20Z")

</div>

Use a app variable. For example:

- 
## Title Screen:

Initialize app variable btnVar to “0”  
If btnVar = 1  
new image code

- 
## Last Screen

When button pressed  
set btnVar to “1”

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:19pm UTC](https://community.thunkable.com/t/how-to-make-a-button-affect-another-screen/1032528/8 "2024-11-08T12:19:53Z")

</div>


