# Need help with mini menu errors

**URL:** https://forum.makecode.com/t/need-help-with-mini-menu-errors/26313
**Category:** Help
**Created:** [January 25, 2024, 1:58am UTC](https://forum.makecode.com/t/need-help-with-mini-menu-errors/26313 "2024-01-25T01:58:55Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![bake](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bake/32/13253_2.png) [@bake](https://forum.makecode.com/u/bake)
#### Post date: [January 25, 2024, 1:58am UTC](https://forum.makecode.com/t/need-help-with-mini-menu-errors/26313/1 "2024-01-25T01:58:55Z")

</div>

Hello. I am making a clicker game, and something is causing an error. I am using the extension, arcade-mini-menu as the game menu. I will provide an image below  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/9/98677f9ec73117e2b5381e3167d6dbc7ee25ef7b.png)

---

<div class="post-metadata">

### Author: ![robotosaurus](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/robotosaurus/32/19294_2.png) [@robotosaurus](https://forum.makecode.com/u/robotosaurus)
#### Post date: [January 25, 2024, 9:26pm UTC](https://forum.makecode.com/t/need-help-with-mini-menu-errors/26313/2 "2024-01-25T21:26:52Z")

</div>

Is shop menu there when the code runs?

---

<div class="post-metadata">

### Author: ![VictorGamer](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/victorgamer/32/12895_2.png) [@VictorGamer](https://forum.makecode.com/u/VictorGamer)
#### Post date: [January 25, 2024, 9:26pm UTC](https://forum.makecode.com/t/need-help-with-mini-menu-errors/26313/3 "2024-01-25T21:26:55Z")

</div>

Maybe it’s because you’re using game update without any condition and so when the game starts it will try to find the shop menu but it was never created.

---

<div class="post-metadata">

### Author: ![RobbyZero](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/robbyzero/32/17188_2.png) [@RobbyZero](https://forum.makecode.com/u/RobbyZero)
#### Post date: [January 25, 2024, 9:26pm UTC](https://forum.makecode.com/t/need-help-with-mini-menu-errors/26313/4 "2024-01-25T21:26:57Z")

</div>

I believe the selection variable is supposed to be in the if block instead of selection index

---

<div class="post-metadata">

### Author: ![YuHayate](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/yuhayate/32/8275_2.png) [@YuHayate](https://forum.makecode.com/u/YuHayate)
#### Post date: [January 25, 2024, 9:26pm UTC](https://forum.makecode.com/t/need-help-with-mini-menu-errors/26313/5 "2024-01-25T21:26:59Z")

</div>

you can put a “on update time(num)” block to have a delay of 0ms  
thats one thing wrong here
