# How can I implement a menu in Arcade?

**URL:** <https://forum.makecode.com/t/how-can-i-implement-a-menu-in-arcade/2645>\
**Category:** Help\
**Created:** [July 2, 2020, 7:03pm UTC](https://forum.makecode.com/t/how-can-i-implement-a-menu-in-arcade/2645 "2020-07-02T19:03:09Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [July 2, 2020, 7:03pm UTC](https://forum.makecode.com/t/how-can-i-implement-a-menu-in-arcade/2645/1 "2020-07-02T19:03:09Z")

</div>

Hello all,

I was wondering if there was a way to implement a menu in Arcade. In the PiZero image, I think that there is a menu at the beginning that allows you to select a compiled game. Is there code for that? (I’m not talking about having multiple games on Arcade, I just want to be able to implement the menu for my own games)

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![infchem](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/infchem/32/1095_2.png) [@infchem](https://forum.makecode.com/u/infchem)\
**Post date:** [July 5, 2020, 2:44pm UTC](https://forum.makecode.com/t/how-can-i-implement-a-menu-in-arcade/2645/2 "2020-07-05T14:44:41Z")

</div>

See [https://github.com/microsoft/pxt-arcade-cabinet-menu](https://github.com/microsoft/pxt-arcade-cabinet-menu)

---

<div class="post-metadata">

**Author:** ![LcAtonal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lcatonal/32/16800_2.png) [@LcAtonal](https://forum.makecode.com/u/LcAtonal)\
**Post date:** [July 8, 2020, 12:52pm UTC](https://forum.makecode.com/t/how-can-i-implement-a-menu-in-arcade/2645/3 "2020-07-08T12:52:13Z")

</div>

Maybe you can use the menu button you originally have?  
Get the block “On A▾ button press” and tap A.  
At the second last bar should be “menu”

Your welcome, UnsignedArduino.

---

<div class="post-metadata">

**Author:** ![LcAtonal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lcatonal/32/16800_2.png) [@LcAtonal](https://forum.makecode.com/u/LcAtonal)\
**Post date:** [July 8, 2020, 1:03pm UTC](https://forum.makecode.com/t/how-can-i-implement-a-menu-in-arcade/2645/4 "2020-07-08T13:03:37Z")

</div>

[https://arcade.makecode.com/42885-92487-13042-52240](https://arcade.makecode.com/42885-92487-13042-52240).  
This is an example of the menu function.  
I found this and this is not created by me.

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [July 8, 2020, 3:12pm UTC](https://forum.makecode.com/t/how-can-i-implement-a-menu-in-arcade/2645/5 "2020-07-08T15:12:29Z")

</div>

> [@LcAtonal](#):
>
> Get the block “On A▾ button press” and tap A.  
> At the second last bar should be “menu”

I knew that you could override the built-in menu, but thanks!

I wanted to create a menu for, like selecting some songs in my Piano Tiles I posted in a different thread…

---

<div class="post-metadata">

**Author:** ![GameGod](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gamegod/32/2756_2.png) [@GameGod](https://forum.makecode.com/u/GameGod)\
**Post date:** [July 8, 2020, 3:19pm UTC](https://forum.makecode.com/t/how-can-i-implement-a-menu-in-arcade/2645/6 "2020-07-08T15:19:00Z")

</div>

> [@Arcade Advanced Stream #62 - Hat factory](https://forum.makecode.com/t/arcade-advanced-stream-62-hat-factory/2691/1):
>
> ![](https://pxt.azureedge.net/blob/e9dfde3b71399a21bd1f586efa4748d0fa6775a0/static/logo.svg) [Microsoft MakeCode](https://arcade.makecode.com/08185-14190-03839-26134)
> 
> ![](https://pxt.azureedge.net/api/08185-14190-03839-26134/thumb)
> 
> ### [62nd stream - hat factory](https://arcade.makecode.com/08185-14190-03839-26134)
> 
> Made with ❤ in Microsoft MakeCode Arcade.

Would this help?

(Video - [https://youtu.be/1hf-H1iV0dM](https://youtu.be/1hf-H1iV0dM))

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [July 8, 2020, 3:22pm UTC](https://forum.makecode.com/t/how-can-i-implement-a-menu-in-arcade/2645/7 "2020-07-08T15:22:55Z")

</div>

Yes!

Now let’s go stare at the code…

---

<div class="post-metadata">

**Author:** ![GameGod](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gamegod/32/2756_2.png) [@GameGod](https://forum.makecode.com/u/GameGod)\
**Post date:** [July 8, 2020, 3:30pm UTC](https://forum.makecode.com/t/how-can-i-implement-a-menu-in-arcade/2645/8 "2020-07-08T15:30:41Z")

</div>

> [@UnsignedArduino](#):
>
> Now let’s go stare at the code…

🤣

---

<div class="post-metadata">

**Author:** ![LcAtonal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lcatonal/32/16800_2.png) [@LcAtonal](https://forum.makecode.com/u/LcAtonal)\
**Post date:** [July 9, 2020, 6:36am UTC](https://forum.makecode.com/t/how-can-i-implement-a-menu-in-arcade/2645/9 "2020-07-09T06:36:02Z")

</div>

Lol ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/8/82a45deb83426d9d4f98d7e0020dc441d8902df3.png)
