# I think my game is freezing and I'm not sure why

**URL:** https://forum.makecode.com/t/i-think-my-game-is-freezing-and-im-not-sure-why/39380
**Category:** Arcade
**Created:** [September 20, 2025, 8:21pm UTC](https://forum.makecode.com/t/i-think-my-game-is-freezing-and-im-not-sure-why/39380 "2025-09-20T20:21:32Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Raccoonux](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@Raccoonux](https://forum.makecode.com/u/Raccoonux)
#### Post date: [September 20, 2025, 8:21pm UTC](https://forum.makecode.com/t/i-think-my-game-is-freezing-and-im-not-sure-why/39380/1 "2025-09-20T20:21:32Z")

</div>

I’m testing how I might do a level system in a space shooter style game (Currently without shots) but my menu cursor frezes up after the second level is cleared and I can’t for the life of me find out why, thoughts?

[https://arcade.makecode.com/S95479-08528-85793-13862](https://arcade.makecode.com/S95479-08528-85793-13862)

---

<div class="post-metadata">

### Author: ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)
#### Post date: [September 20, 2025, 8:52pm UTC](https://forum.makecode.com/t/i-think-my-game-is-freezing-and-im-not-sure-why/39380/2 "2025-09-20T20:52:50Z")

</div>

![IMG_0319](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/4/e/4ed0951e267be07270133c75d2d25c7e98ff4056.jpeg)

At the end of level one, “level” is set to 0 in the LevelSelect function, and “kills” = 5, so this calls “LevelSelect” over and over again, continuously resetting the selector sprite position by killing and creating it again over and over, which makes it look like it’s not moving at all.

---

<div class="post-metadata">

### Author: ![Raccoonux](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@Raccoonux](https://forum.makecode.com/u/Raccoonux)
#### Post date: [September 22, 2025, 12:20am UTC](https://forum.makecode.com/t/i-think-my-game-is-freezing-and-im-not-sure-why/39380/3 "2025-09-22T00:20:44Z")

</div>

Thanks a bunch, I got it working :\>

---

<div class="post-metadata">

### Author: ![Faxx](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/faxx/32/28828_2.png) [@Faxx](https://forum.makecode.com/u/Faxx)
#### Post date: [September 22, 2025, 5:19pm UTC](https://forum.makecode.com/t/i-think-my-game-is-freezing-and-im-not-sure-why/39380/4 "2025-09-22T17:19:04Z")

</div>

dang your smart lol

---

<div class="post-metadata">

### Author: ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)
#### Post date: [September 22, 2025, 6:07pm UTC](https://forum.makecode.com/t/i-think-my-game-is-freezing-and-im-not-sure-why/39380/5 "2025-09-22T18:07:05Z")

</div>

Thanks! I’ve been helping people with their code here for a while now. A year away from the forums is a big thing to return from just to compliment me lol ☺
