# How to Restart a Scene?

**URL:** <https://phaser.discourse.group/t/how-to-restart-a-scene/5819>\
**Category:** Phaser 3\
**Created:** [April 8, 2020, 3:31am UTC](https://phaser.discourse.group/t/how-to-restart-a-scene/5819 "2020-04-08T03:31:55Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![JimLynchCodes](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/jimlynchcodes/32/3090_2.png) [@JimLynchCodes](https://phaser.discourse.group/u/JimLynchCodes)\
**Post date:** [April 8, 2020, 10:41pm UTC](https://phaser.discourse.group/t/how-to-restart-a-scene/5819/11 "2020-04-08T22:41:05Z")

</div>

Thanks!

I pushed some changed to the code. I am still using the update function, but I changed the code to use the listener instead.

It works when I start the scene the first time, but unfortunately I am getting really crazy values after I start the game again from the game over screen. 😕

---

_[View the full topic](https://phaser.discourse.group/t/how-to-restart-a-scene/5819)._
