# Mini menu extension broken?

**URL:** https://forum.makecode.com/t/mini-menu-extension-broken/34222
**Category:** Help
**Created:** [March 2, 2025, 2:10am UTC](https://forum.makecode.com/t/mini-menu-extension-broken/34222 "2025-03-02T02:10:40Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![BotWarrior](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/botwarrior/32/25328_2.png) [@BotWarrior](https://forum.makecode.com/u/BotWarrior)
#### Post date: [March 2, 2025, 2:10am UTC](https://forum.makecode.com/t/mini-menu-extension-broken/34222/1 "2025-03-02T02:10:40Z")

</div>

![Screenshot 2025-03-02 at 12.18.52](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/c/8/c88ff74cb4e9fe936a507f828dbbb8c2c920d888.png)  
This is the code I am using for my game (that I don’t want to release). The menu just doesn’t want to close!!!  
These are my extensions  
 ![Screenshot 2025-03-02 at 12.21.05](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/a/d/ad3d9fc5d7766885bfed53f45653da65216f0424.png)  
And this is the code I am using on a button (if it helps)  
 ![Screenshot 2025-03-02 at 12.21.49](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/5/5/55a21b75c3e4f924ef61c4cf5c518a9453a5f55d.png)

@Richard do you know what is happening?

---

<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: [March 3, 2025, 2:49am UTC](https://forum.makecode.com/t/mini-menu-extension-broken/34222/2 "2025-03-03T02:49:04Z")

</div>

If there are more than one sprite of kind effects then you may be making more than one menu? That’s the only thing I can see that could be wrong

---

<div class="post-metadata">

### Author: ![BotWarrior](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/botwarrior/32/25328_2.png) [@BotWarrior](https://forum.makecode.com/u/BotWarrior)
#### Post date: [March 3, 2025, 10:37pm UTC](https://forum.makecode.com/t/mini-menu-extension-broken/34222/3 "2025-03-03T22:37:02Z")

</div>

Oh thank you!!! I just had a total mind blank then! 🤣  
I might finally be able continue this!

---

<div class="post-metadata">

### Author: ![redSprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/redsprite/32/34262_2.png) [@redSprite](https://forum.makecode.com/u/redSprite)
#### Post date: [March 3, 2025, 10:37pm UTC](https://forum.makecode.com/t/mini-menu-extension-broken/34222/4 "2025-03-03T22:37:05Z")

</div>

I think it’s due to another menu sprite being created as the menu blocks in the first picture is set into a function.
