# Help in stored variable

**URL:** <https://community.thunkable.com/t/help-in-stored-variable/2909095>\
**Category:** Questions about Thunkable X\
**Created:** [March 22, 2024, 1:13pm UTC](https://community.thunkable.com/t/help-in-stored-variable/2909095 "2024-03-22T13:13:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![salmannawaz1724xjqj0](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/salmannawaz1724xjqj0/32/173858_2.png) [@salmannawaz1724xjqj0](https://community.thunkable.com/u/salmannawaz1724xjqj0)\
**Post date:** [March 22, 2024, 1:13pm UTC](https://community.thunkable.com/t/help-in-stored-variable/2909095/1 "2024-03-22T13:13:46Z")

</div>

how to achieve this : \* When the app starts, the user sees the BrandingScreen.

- In the `BrandingScreen.Initialize` event block, we check if it’s the first time the app is being opened (`isFirstTimeOpen` variable).
- If it’s the first time, we set `isFirstTimeOpen` to `false`, indicating that the app has been opened at least once.
- If it’s not the first time, we retrieve the value of the `lastScreen` variable and navigate the user to that screen.
- Throughout the app, whenever the user navigates away from a screen (e.g., by clicking a button), we update the value of the `lastScreen` variable with the name of the current screen.

( please make me understand in project example)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [March 22, 2024, 1:54pm UTC](https://community.thunkable.com/t/help-in-stored-variable/2909095/2 "2024-03-22T13:54:31Z")

</div>

For the first question, search the forums for “first run” to see examples of this.

---

<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:** [June 20, 2024, 1:55pm UTC](https://community.thunkable.com/t/help-in-stored-variable/2909095/3 "2024-06-20T13:55:13Z")

</div>

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