# Jump to Scene not working properly

**URL:** <https://talk.atomisystems.com/t/jump-to-scene-not-working-properly/8635>\
**Category:** Support Questions\
**Created:** [June 21, 2024, 4:28am UTC](https://talk.atomisystems.com/t/jump-to-scene-not-working-properly/8635 "2024-06-21T04:28:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![AIZAT\_KAMARUDIN](https://talk.atomisystems.com/user_avatar/talk.atomisystems.com/aizat_kamarudin/32/5457_2.png) [@AIZAT\_KAMARUDIN](https://talk.atomisystems.com/u/AIZAT_KAMARUDIN)\
**Post date:** [June 21, 2024, 4:28am UTC](https://talk.atomisystems.com/t/jump-to-scene-not-working-properly/8635/1 "2024-06-21T04:28:52Z")

</div>

Hi. I have a problem with Event Handler where the Jump To Scene is not working properly. Suppose I have an intro scene where it receives user clicks on certain elements. When user clicks that element, it brings the users to a certain scene. After the related scene has completed, it should bring user back to the intro scene. But the problem is it didn’t. Users are brought back to the previous scene. How should I overcome this problem? I included a file to recreate the problem [here](https://file.io/9mmQi9gxNmUG) . Thank you

---

<div class="post-metadata">

**Author:** ![PhuongThuy\_Le](https://talk.atomisystems.com/user_avatar/talk.atomisystems.com/phuongthuy_le/32/6090_2.png) [@PhuongThuy\_Le](https://talk.atomisystems.com/u/PhuongThuy_Le)\
**Post date:** [June 21, 2024, 4:40am UTC](https://talk.atomisystems.com/t/jump-to-scene-not-working-properly/8635/2 "2024-06-21T04:40:49Z")

</div>

Hi,

Make sure that you deselect the **Auto-Advance** checkbox in Scene 2, Scene 3 and Scene 4.

![image](https://talk.atomisystems.com/uploads/default/original/2X/5/57701ab212c19c33b288b92a3af3849fdffa605e.png)  
Doing so, the scene will jump back to the **Intro** scene when it is completed.

BR,

---

<div class="post-metadata">

**Author:** ![AIZAT\_KAMARUDIN](https://talk.atomisystems.com/user_avatar/talk.atomisystems.com/aizat_kamarudin/32/5457_2.png) [@AIZAT\_KAMARUDIN](https://talk.atomisystems.com/u/AIZAT_KAMARUDIN)\
**Post date:** [June 21, 2024, 6:33am UTC](https://talk.atomisystems.com/t/jump-to-scene-not-working-properly/8635/3 "2024-06-21T06:33:11Z")

</div>

That works 😃 . Thank you so much

---

<div class="post-metadata">

**Author:** ![AIZAT\_KAMARUDIN](https://talk.atomisystems.com/user_avatar/talk.atomisystems.com/aizat_kamarudin/32/5457_2.png) [@AIZAT\_KAMARUDIN](https://talk.atomisystems.com/u/AIZAT_KAMARUDIN)\
**Post date:** [June 21, 2024, 6:47am UTC](https://talk.atomisystems.com/t/jump-to-scene-not-working-properly/8635/4 "2024-06-21T06:47:40Z")

</div>

Btw I have another question @PhuongThuy_Le . How do I show an element after a scene has ended at the intro page? For example at the intro page I have a ‘ **Tick** ’ icon with **Display** its option set to hidden, located behind a button. After the button is clicked and user is brought to related scene, after the scene has ended, the user is brought back to the intro page and the ‘ **Tick** ’ icon finally shows up indicating the user has clicked that button. I tried using the Show Element on Mouse Click event handler, the icon didn’t show at all. Thank you

---

<div class="post-metadata">

**Author:** ![PhuongThuy\_Le](https://talk.atomisystems.com/user_avatar/talk.atomisystems.com/phuongthuy_le/32/6090_2.png) [@PhuongThuy\_Le](https://talk.atomisystems.com/u/PhuongThuy_Le)\
**Post date:** [June 21, 2024, 8:47am UTC](https://talk.atomisystems.com/t/jump-to-scene-not-working-properly/8635/5 "2024-06-21T08:47:59Z")

</div>

Hi,

You need to use JavaScript to achieve what you want.  
Please check the project for your reference:

> **[talk-8635\_check.saolapack](https://drive.google.com/file/d/1cdx32pe6dDnplLBvQfMnvTJBiXGDZJ_b/view?usp=sharing)**
>
> Google Drive file.

In the sample, we add the **Run JavaScript** action in Scene 4 and Scene 1. So the tick will be shown when users go back to Scene 1 from Scene 4.

See the details in the project.  
 ![image](https://talk.atomisystems.com/uploads/default/original/2X/2/2cead9ec382c8fba85af3037d6b0e14f8bc97534.png)

![image](https://talk.atomisystems.com/uploads/default/original/2X/6/6f03458b25a18a66474f67a70c1b153f51220a91.png)

BR,

---

<div class="post-metadata">

**Author:** ![AIZAT\_KAMARUDIN](https://talk.atomisystems.com/user_avatar/talk.atomisystems.com/aizat_kamarudin/32/5457_2.png) [@AIZAT\_KAMARUDIN](https://talk.atomisystems.com/u/AIZAT_KAMARUDIN)\
**Post date:** [June 22, 2024, 4:24am UTC](https://talk.atomisystems.com/t/jump-to-scene-not-working-properly/8635/6 "2024-06-22T04:24:39Z")

</div>

Can I know is the scene2Viewed a custom variable or is it a variable in Saola Animate?

---

<div class="post-metadata">

**Author:** ![PhuongThuy\_Le](https://talk.atomisystems.com/user_avatar/talk.atomisystems.com/phuongthuy_le/32/6090_2.png) [@PhuongThuy\_Le](https://talk.atomisystems.com/u/PhuongThuy_Le)\
**Post date:** [June 24, 2024, 3:55am UTC](https://talk.atomisystems.com/t/jump-to-scene-not-working-properly/8635/7 "2024-06-24T03:55:10Z")

</div>

The **scene2Viewed** is the custom property of **doc**.  
Up to you, you can change its name.  
You should add prefix, for example, _my_ (myScene2Viewed) to ensure it does not accidentally overlap with built-in properties.

BR,
