# Menu error

**URL:** <https://forum.makecode.com/t/menu-error/40908>\
**Category:** Help\
**Created:** [December 12, 2025, 5:01pm UTC](https://forum.makecode.com/t/menu-error/40908 "2025-12-12T17:01:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![RoboVacDev](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/robovacdev/32/29619_2.png) [@RoboVacDev](https://forum.makecode.com/u/RoboVacDev)\
**Post date:** [December 12, 2025, 5:01pm UTC](https://forum.makecode.com/t/menu-error/40908/1 "2025-12-12T17:01:23Z")

</div>

In the game mode selection, when you click on Enemy Catalog and then go back, the game menu doesn’t work the way it’s expected to somehow. Can anyone make the menu go back to normal? Thanks

> **[Silly Brawl!](https://arcade.makecode.com/53253-79878-93475-54165)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<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:** [December 12, 2025, 7:29pm UTC](https://forum.makecode.com/t/menu-error/40908/2 "2025-12-12T19:29:47Z")

</div>

That “undestroy sprite” block doesn’t bring back the button handlers, only the sprite. The button handlers are the things that _handle_ button presses, and they are separate from the sprite. That block probably shouldn’t be used on anything other than the normal makecode sprites, and even then it’s not perfect. I would suggest just disabling the button presses for the menu, moving it off-screen, and then enabling button presses and moving it back on screen when you need to:

 ![Screenshot 2025-12-12 at 12.32.15 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/1/d/1dc2dda60ecf9305c761dcb2cb3efa4353e79f52.png)  
 ![Screenshot 2025-12-12 at 12.32.21 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/6/5/65231706112ac0490e0c3decba573424608f5909.png)

---

<div class="post-metadata">

**Author:** ![RoboVacDev](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/robovacdev/32/29619_2.png) [@RoboVacDev](https://forum.makecode.com/u/RoboVacDev)\
**Post date:** [December 12, 2025, 10:46pm UTC](https://forum.makecode.com/t/menu-error/40908/3 "2025-12-12T22:46:40Z")

</div>

So, what do I have to do, exactly?

---

<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:** [December 13, 2025, 8:17pm UTC](https://forum.makecode.com/t/menu-error/40908/4 "2025-12-13T20:17:18Z")

</div>

Replace the “destroy” and “undestroy” blocks with the ones in the screenshots! Should look just like the screenshots in the end.

---

<div class="post-metadata">

**Author:** ![RoboVacDev](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/robovacdev/32/29619_2.png) [@RoboVacDev](https://forum.makecode.com/u/RoboVacDev)\
**Post date:** [December 14, 2025, 3:05am UTC](https://forum.makecode.com/t/menu-error/40908/5 "2025-12-14T03:05:07Z")

</div>

Ok I got that. Now, when I leave the enemy catalog, I can’t seem to control the game mode menu. Can you fix that? Thanks

---

<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:** [December 14, 2025, 10:59pm UTC](https://forum.makecode.com/t/menu-error/40908/6 "2025-12-14T22:59:04Z")

</div>

Did you make sure to set button events back to true? You might be setting it to false again. If you can’t figure out the issue then update the link and let me know.
