# \[Superpost\] Can I use a button to close an app?

**URL:** <https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747>\
**Category:** Questions about Thunkable X\
**Tags:** solved, ux, superpost\
**Created:** [December 5, 2017, 1:41pm UTC](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747 "2017-12-05T13:41:12Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![devendrakoli41](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/devendrakoli41/32/92475_2.png) [@devendrakoli41](https://community.thunkable.com/u/devendrakoli41)\
**Post date:** [December 27, 2020, 5:39am UTC](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747/64 "2020-12-27T05:39:09Z")

</div>

lets suppose i used the splash screen and i wanted to close the app (Exit) from home screen, then how can i make this. thier is no block for close application

---

<div class="post-metadata">

**Author:** ![aaminahmansuri59h](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/aaminahmansuri59h/32/89753_2.png) [@aaminahmansuri59h](https://community.thunkable.com/u/aaminahmansuri59h)\
**Post date:** [December 27, 2020, 5:49am UTC](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747/65 "2020-12-27T05:49:06Z")

</div>

Use this block.  
 ![IMG_20201227_111749](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/0/00c1322751c46c9848a9e4e77c99c3c0ff327218.jpeg)

---

<div class="post-metadata">

**Author:** ![devendrakoli41](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/devendrakoli41/32/92475_2.png) [@devendrakoli41](https://community.thunkable.com/u/devendrakoli41)\
**Post date:** [December 27, 2020, 6:39am UTC](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747/66 "2020-12-27T06:39:17Z")

</div>

How to close app?

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [December 27, 2020, 7:32am UTC](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747/67 "2020-12-27T07:32:22Z")

</div>

The only way to close the app is to press the back button or the swipe gesture. Of course you can close the app by terminating it from the app manager but this is not the normal way.

---

<div class="post-metadata">

**Author:** ![Deluxe](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/deluxe/32/30016_2.png) [@Deluxe](https://community.thunkable.com/u/Deluxe)\
**Post date:** [December 27, 2020, 9:13am UTC](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747/68 "2020-12-27T09:13:30Z")

</div>

@devendrakoli41 what you need is totally doable. To achieve it you need to use a tab navigator:

1. Create a tab navigator and hide all navigator buttons and labels for each of the screens you will be creating.

2. Set your app’s main screen as the first screen in the tab navigator screen order and your app’s splash screen as any other screen (i.e. the second screen)

3. Create an app variable (not stored variable) on your home screen called “SplashScreenDone” initializing it to “false”.

4. Crete an IF statement in the “Opens” event of your home screen to check if the “SplashScreenDone” variable’s value is set to “false” and if so, navigate to splash screen.

5. Now it all has to do with what you want to do in your splash screen. If you just want it to appear for a few seconds and then go to the home screen then use a timer which sets the “SplashScreenDone” variable to “true” and navigates you to your home screen when it fires. If you want the user to press a button (i.e. continue) then in the “Click” event of that button set the “SplashScreenDone” variable to “true” and navigate to your home screen. It is totally up to you.

Note: The described approach takes care of the case where the user will press the “Back” button while on the splash screen. If so, he will be taken back to the home screen but the first thing the “Opens” event will do is to check the status of the “SplashScreenDone” variable and since it will still be “false”, he will be taken back to the splash screen again.

That’s really all you need to do 🙂

Let me know if anything

Konstantinos

---

<div class="post-metadata">

**Author:** ![digitalsunilpatelb9](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@digitalsunilpatelb9](https://community.thunkable.com/u/digitalsunilpatelb9)\
**Post date:** [March 24, 2021, 3:49am UTC](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747/69 "2021-03-24T03:49:34Z")

</div>

I unable to set blocks to exit app . Please suggest me how can set exit app blocks

---

<div class="post-metadata">

**Author:** ![Balanced\_Kitchen](https://avatars.discourse-cdn.com/v4/letter/b/839c29/32.png) [@Balanced\_Kitchen](https://community.thunkable.com/u/Balanced_Kitchen)\
**Post date:** [March 24, 2021, 8:51am UTC](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747/70 "2021-03-24T08:51:59Z")

</div>

No such blocks are available.

---

<div class="post-metadata">

**Author:** ![tony.ycy.program](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tony.ycy.program/32/100153_2.png) [@tony.ycy.program](https://community.thunkable.com/u/tony.ycy.program)\
**Post date:** [March 24, 2021, 9:12am UTC](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747/71 "2021-03-24T09:12:06Z")

</div>

I think so! 🙄

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [March 24, 2021, 9:34am UTC](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747/72 "2021-03-24T09:34:51Z")

</div>

moving you question here @digitalsunilpatelb9 since this question has been asked and answered already.

Please see this post for a full explanaiton:

> [@\[Superpost\] Can I use a button to close an app?](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747/51):
>
> Yes, we don’t support closing an app right now because it’s not possible to do on iOS.

Thanks

---

<div class="post-metadata">

**Author:** ![digitalsunilpatelb9](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@digitalsunilpatelb9](https://community.thunkable.com/u/digitalsunilpatelb9)\
**Post date:** [March 24, 2021, 10:01am UTC](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747/73 "2021-03-24T10:01:26Z")

</div>

is it possibke in android ? if yes then please suggest

---

<div class="post-metadata">

**Author:** ![thunkablest5dru](https://avatars.discourse-cdn.com/v4/letter/t/97f17d/32.png) [@thunkablest5dru](https://community.thunkable.com/u/thunkablest5dru)\
**Post date:** [May 1, 2021, 2:19pm UTC](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747/76 "2021-05-01T14:19:06Z")

</div>

> [@Manual Drawer Navigator and responsive Screen Navigation on android](https://community.thunkable.com/t/manual-drawer-navigator-and-responsive-screen-navigation-on-android/1251043):
>
> I have been struggling with navigation in my app due to the stacking screen navigation provided by the navigators. I need a user to sign in but don’t want to show the signin screen every time. If I put the signin screen as the first screen I can automatically skip to the main screen if the user is already signed in. However, if I press the back button in android from the main screen it will not automatically exit the app as it has to go back through the signin screen. First invocation(user is…

It is a bit of work to manage but It is working for me with 5 screens. the back button exits from any “screen” because there is actually only one real screen, it just looks to the user like there are multiple screens.

---

<div class="post-metadata">

**Author:** ![vjcambridge01o](https://avatars.discourse-cdn.com/v4/letter/v/59ef9b/32.png) [@vjcambridge01o](https://community.thunkable.com/u/vjcambridge01o)\
**Post date:** [May 6, 2021, 4:53pm UTC](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747/77 "2021-05-06T16:53:15Z")

</div>

I suggest a dead-end screen with no UI and the words “Thank you”. Then the user closes it for you.

---

<div class="post-metadata">

**Author:** ![vikkun](https://avatars.discourse-cdn.com/v4/letter/v/7993a0/32.png) [@vikkun](https://community.thunkable.com/u/vikkun)\
**Post date:** [May 8, 2021, 10:02am UTC](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747/78 "2021-05-08T10:02:43Z")

</div>

Hi Everyone,

I am facing issue like unable to close app by pressing back button now I’m forced closing.

I have multiple screen every where i have given while back press its coming on home page but from home to i am able to exit app.

Kindly suggest a way for exit the app.

Thanks,

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [May 8, 2021, 10:33am UTC](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747/79 "2021-05-08T10:33:39Z")

</div>

See this

[https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747/78](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747/78)

---

<div class="post-metadata">

**Author:** ![messirk105l67](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/messirk105l67/32/111784_2.png) [@messirk105l67](https://community.thunkable.com/u/messirk105l67)\
**Post date:** [August 5, 2021, 4:18am UTC](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747/80 "2021-08-05T04:18:23Z")

</div>

Plz help me thunkable x. . how to add clossing buttom add

---

<div class="post-metadata">

**Author:** ![pathcreator](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/pathcreator/32/108299_2.png) [@pathcreator](https://community.thunkable.com/u/pathcreator)\
**Post date:** [August 5, 2021, 5:28am UTC](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747/81 "2021-08-05T05:28:45Z")

</div>

> [@messirk105l67](#):
>
> Plz help me thunkable x. . how to add clossing buttom add

Did you mean _ **closing** _ when you said _clossing_?

And, what did you mean by _buttom_?  
Button, I suppose?

---

<div class="post-metadata">

**Author:** ![mimostel](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mimostel/32/107661_2.png) [@mimostel](https://community.thunkable.com/u/mimostel)\
**Post date:** [August 5, 2021, 7:27am UTC](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747/82 "2021-08-05T07:27:49Z")

</div>

If you ask for some button that exits your app when clicked, then the answer is that this button doesnt exists in thunkable.

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [August 5, 2021, 7:31am UTC](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747/83 "2021-08-05T07:31:40Z")

</div>

A closing button can’t be created in Thunkable X.  
Since iOS and web don’t support closing apps

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [August 5, 2021, 8:01am UTC](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747/84 "2021-08-05T08:01:41Z")

</div>

> [@messirk105l67](#):
>
> how to add clossing buttom add

Please search the community before posting @messirk105l67 - this question has been asked and answered several times in the past. You can find the answer above.

* * *

> [@pathcreator](#):
>
> Did you mean _ **closing** _ when you said _clossing_?
> 
> And, what did you mean by _buttom_?

Please don’t do this @pathcreator - this is a global community and the standard of English is naturally going to vary with over one million users here.

In future, please focus on the intent of the question rather than spelling, grammar, typos etc.

Thank you

---

<div class="post-metadata">

**Author:** ![pathcreator](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/pathcreator/32/108299_2.png) [@pathcreator](https://community.thunkable.com/u/pathcreator)\
**Post date:** [August 5, 2021, 8:19am UTC](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747/85 "2021-08-05T08:19:22Z")

</div>

@domhnallohanlon,

> [@domhnallohanlon](#):
>
> Please don’t do this @pathcreator - this is a global community and the standard of English is naturally going to vary with over one million users here.

I’m really sorry for doing that. I should’ve phrased my sentence in a more–less offensive way.  
Actually, I was wondering if the word “clossing” was a coding term which I wasn’t aware of.

> [@domhnallohanlon](#):
>
> In future, please focus on the intent of the question rather than spelling, grammar, typos etc.

Ok, I’ll keep that in mind. Thanks for correcting me tho.

Regards,  
@pathcreator.

[Previous page](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747.md?page=3)

[Next page](https://community.thunkable.com/t/superpost-can-i-use-a-button-to-close-an-app/11747.md?page=5)
