# Back out of alert

**URL:** <https://community.thunkable.com/t/back-out-of-alert/673356>\
**Category:** Questions about Thunkable X\
**Created:** [July 12, 2020, 9:22am UTC](https://community.thunkable.com/t/back-out-of-alert/673356 "2020-07-12T09:22:01Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![huntermclarkn](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/huntermclarkn/32/66310_2.png) [@huntermclarkn](https://community.thunkable.com/u/huntermclarkn)\
**Post date:** [July 12, 2020, 9:22am UTC](https://community.thunkable.com/t/back-out-of-alert/673356/1 "2020-07-12T09:22:01Z")

</div>

So I have an alert that pops up giving me two options to proceed. I was wondering if there was a way to back out of an alert if the user does not want to pursue either of those options? I feel like the most intuitive option is to be able to just tap the screen behind the alert but I haven’t been able to find a way to do that. Any ideas?

---

<div class="post-metadata">

**Author:** ![eoinparkinson](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eoinparkinson/32/143769_2.png) [@eoinparkinson](https://community.thunkable.com/u/eoinparkinson)\
**Post date:** [July 12, 2020, 10:11am UTC](https://community.thunkable.com/t/back-out-of-alert/673356/2 "2020-07-12T10:11:38Z")

</div>

You could make a list alert and have one of the options as cancel. Check out docs on the [Alert component](https://docs.thunkable.com/alert) for more info.

---

<div class="post-metadata">

**Author:** ![huntermclarkn](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/huntermclarkn/32/66310_2.png) [@huntermclarkn](https://community.thunkable.com/u/huntermclarkn)\
**Post date:** [August 27, 2020, 4:52pm UTC](https://community.thunkable.com/t/back-out-of-alert/673356/3 "2020-08-27T16:52:07Z")

</div>

So I used that method to instead have 3 different options for moving forward (it solved a huge problem I have been having)

But now as I am tying up loose ends, I still am wondering about a way to exit out of an alert so the user doesn’t have to move forward and can just go back to pre-alert. As of yet there isnt a “If screen click” control so I am not sure if there would be a way around it currently

---

<div class="post-metadata">

**Author:** ![DuMonster](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/dumonster/32/81287_2.png) [@DuMonster](https://community.thunkable.com/u/DuMonster)\
**Post date:** [August 27, 2020, 5:23pm UTC](https://community.thunkable.com/t/back-out-of-alert/673356/4 "2020-08-27T17:23:12Z")

</div>

Do you mean you are using an alert to check if user wants to progress to next “step”? If so, you can check if alert “was confirmed” pretty easy like this

 ![forum](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/c/acc1a7b4d39b8c135136c19bcefe47ba593890e8.png)

---

<div class="post-metadata">

**Author:** ![huntermclarkn](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/huntermclarkn/32/66310_2.png) [@huntermclarkn](https://community.thunkable.com/u/huntermclarkn)\
**Post date:** [August 27, 2020, 5:26pm UTC](https://community.thunkable.com/t/back-out-of-alert/673356/5 "2020-08-27T17:26:21Z")

</div>

No, so my alert has 3 options the user can pick to move to 3 different screens. But if someone accidentally clicked the value that triggers the alert, I was looking for a way they could back out instead of having to progress to the next screen and then go back

---

<div class="post-metadata">

**Author:** ![DuMonster](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/dumonster/32/81287_2.png) [@DuMonster](https://community.thunkable.com/u/DuMonster)\
**Post date:** [August 27, 2020, 5:44pm UTC](https://community.thunkable.com/t/back-out-of-alert/673356/6 "2020-08-27T17:44:29Z")

</div>

Ahhh… I see. Maybe a custom popup? I use quite often now just for the sake of more styling options

---

<div class="post-metadata">

**Author:** ![huntermclarkn](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/huntermclarkn/32/66310_2.png) [@huntermclarkn](https://community.thunkable.com/u/huntermclarkn)\
**Post date:** [August 27, 2020, 5:46pm UTC](https://community.thunkable.com/t/back-out-of-alert/673356/7 "2020-08-27T17:46:23Z")

</div>

I’ll give that a shot, that could work well

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [August 27, 2020, 6:01pm UTC](https://community.thunkable.com/t/back-out-of-alert/673356/8 "2020-08-27T18:01:25Z")

</div>

You could definitely do this!

I would have a stored variable called lastscreen

Every time I navigate to a new screen I would update the lastscreen Variable with the name of the screen you’re navigating away from

When you click the back button it navigates to the variable lastscreen

@huntermclarkn

---

<div class="post-metadata">

**Author:** ![eoinparkinson](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/eoinparkinson/32/143769_2.png) [@eoinparkinson](https://community.thunkable.com/u/eoinparkinson)\
**Post date:** [August 27, 2020, 7:04pm UTC](https://community.thunkable.com/t/back-out-of-alert/673356/9 "2020-08-27T19:04:41Z")

</div>

You could call a second default alert that says “Are you sure you want to proceed?”

You can also call two alerts at the same time and whichever one was called second will appear on top of the other alert.

When the user picks and option, set a variable to that option. Once the second chance alert is confirmed, navigate to a screen depending on the initial alerts value.

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [August 27, 2020, 7:46pm UTC](https://community.thunkable.com/t/back-out-of-alert/673356/10 "2020-08-27T19:46:34Z")

</div>

^^^

This is a good option!

“Are you sure you want to go to {$screenName}?”

“Yes/No”

---

<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:24pm UTC](https://community.thunkable.com/t/back-out-of-alert/673356/11 "2024-11-08T12:24:35Z")

</div>


