# Game Design - Resetting Canvas Challenge

**URL:** https://community.thunkable.com/t/game-design-resetting-canvas-challenge/1560480
**Category:** Questions about Thunkable X
**Created:** [October 13, 2021, 8:11pm UTC](https://community.thunkable.com/t/game-design-resetting-canvas-challenge/1560480 "2021-10-13T20:11:48Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![rothmana](https://avatars.discourse-cdn.com/v4/letter/r/f475e1/32.png) [@rothmana](https://community.thunkable.com/u/rothmana)
#### Post date: [October 13, 2021, 8:11pm UTC](https://community.thunkable.com/t/game-design-resetting-canvas-challenge/1560480/1 "2021-10-13T20:11:48Z")

</div>

Hello,

I have students build game apps, which include a “reset game” feature when they reach the end game screen.

Recently, when students get to the end game screen, and click to restart game, the canvas on the screen is blank - the initial sprites are missing.

Here is an example app with this problem: [Thunkable](https://x.thunkable.com/projectPage/616716639869540010557efb)

Any feedback on resolving this issue would be much appreciated!

---

<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: [October 13, 2021, 11:00pm UTC](https://community.thunkable.com/t/game-design-resetting-canvas-challenge/1560480/2 "2021-10-13T23:00:07Z")

</div>

Yes, the same thing happens for me when I preview your project in a browser. The only block you’re using is a Navigate block which should just load the first screen that contains the canvas. I’m not sure why you’re seeing this bug. The project is really straightforward.

I added a yellow border around the Canvas component and you can see that when the screen loads the second time, the component is there but blank. I just wanted to make sure it wasn’t getting hidden.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f1c9db616a33ba58b7f8fd26cde16fda4ea749e.jpeg)

**Edit:** I added a label so I could tell if the Canvas loads the second time:

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/c/3/c312684263da6dbb4328402fe48ac3f7a7278145.png)

It doesn’t. When I first play it, I see “B” but when I click Play Again, I only see “Label”. The value doesn’t change.

---

<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: [October 13, 2021, 11:06pm UTC](https://community.thunkable.com/t/game-design-resetting-canvas-challenge/1560480/3 "2021-10-13T23:06:45Z")

</div>

Interestingly, if I Live Test this in Thunkable Live on my iPhone 11, the Canvas is blank the entire time. It never displays anything.

By the way, great game over sound!

---

<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: [October 13, 2021, 11:28pm UTC](https://community.thunkable.com/t/game-design-resetting-canvas-challenge/1560480/4 "2021-10-13T23:28:48Z")

</div>

I stripped the project down to its bare minimum and it’s still having the same issue.

These are the only blocks on the first screen now:

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/a/9a9d2af243cbdcd9b472cdd4f295308ffc1db066.png)

And the project link:

[https://x.thunkable.com/copy/422258e6e2d22a6953ad0f91fbf5f1d0](https://x.thunkable.com/copy/422258e6e2d22a6953ad0f91fbf5f1d0)

The next step would be to create a new project with a canvas and a navigate block and see if this happens in a different project as well.

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 1:14pm UTC](https://community.thunkable.com/t/game-design-resetting-canvas-challenge/1560480/5 "2024-11-08T13:14:48Z")

</div>


