# Random transition between two pages

**URL:** <https://community.thunkable.com/t/random-transition-between-two-pages/2441142>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [May 29, 2023, 9:20am UTC](https://community.thunkable.com/t/random-transition-between-two-pages/2441142 "2023-05-29T09:20:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yuocef2330f](https://avatars.discourse-cdn.com/v4/letter/y/e99b99/32.png) [@yuocef2330f](https://community.thunkable.com/u/yuocef2330f)\
**Post date:** [May 29, 2023, 9:20am UTC](https://community.thunkable.com/t/random-transition-between-two-pages/2441142/1 "2023-05-29T09:20:49Z")

</div>

I want to program a page that will take me randomly  
Example: I’m on page 5, after 3 seconds it will randomly go to 4 or 3

---

<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:** [May 29, 2023, 5:10pm UTC](https://community.thunkable.com/t/random-transition-between-two-pages/2441142/2 "2023-05-29T17:10:37Z")

</div>

Set app variable randomNum to random integer from 1 to 2.

If app variable randomNum = 1, navigate to page 3

If app variable randomNum = 2, navigate to page 4

---

<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:** [August 27, 2023, 5:11pm UTC](https://community.thunkable.com/t/random-transition-between-two-pages/2441142/3 "2023-08-27T17:11:07Z")

</div>

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