# How do you create a menu?

**URL:** <https://forum.makecode.com/t/how-do-you-create-a-menu/8800>\
**Category:** Help\
**Created:** [June 18, 2021, 4:02pm UTC](https://forum.makecode.com/t/how-do-you-create-a-menu/8800 "2021-06-18T16:02:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![HewwoBug](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/hewwobug/32/3995_2.png) [@HewwoBug](https://forum.makecode.com/u/HewwoBug)\
**Post date:** [June 18, 2021, 4:02pm UTC](https://forum.makecode.com/t/how-do-you-create-a-menu/8800/1 "2021-06-18T16:02:04Z")

</div>

I want a menu that has options that you can scroll through by pressing the up key and the down key. Can anyone help me? BTW, it also needs to show the currently selected selection.

---

<div class="post-metadata">

**Author:** ![biscuit](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/biscuit/32/4404_2.png) [@biscuit](https://forum.makecode.com/u/biscuit)\
**Post date:** [June 18, 2021, 4:25pm UTC](https://forum.makecode.com/t/how-do-you-create-a-menu/8800/2 "2021-06-18T16:25:26Z")

</div>

What I would do is use the set background image block. It should start on the top selection, and have a variable set to true when it is on that selection. If you just have two options, then it is just going to look something like this:  
 ![Screenshot 2021-06-18 10.08.43 AM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/a/a49d8fb3a84db1108d37da2cbf9be25b660cbf5f.png)

 ![Screenshot 2021-06-18 10.09.33 AM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/4/40454a6d31acacf2bfc725d7ce854524abbf8b44.png)  
Otherwise, if you have more than two then you can use those variables to also see which selection you are currently on, and move it to the correct selection. The variable can also be used for being able to select whatever option you have selected. For showing the currently selected selection, I would either outline the selection or change the color of it. Hope this helps you.

---

<div class="post-metadata">

**Author:** ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)\
**Post date:** [June 18, 2021, 5:10pm UTC](https://forum.makecode.com/t/how-do-you-create-a-menu/8800/3 "2021-06-18T17:10:52Z")

</div>

There is an extention for menus. Just scroll down in the toolbar, press the extentions button and you will find it there.

---

<div class="post-metadata">

**Author:** ![HewwoBug](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/hewwobug/32/3995_2.png) [@HewwoBug](https://forum.makecode.com/u/HewwoBug)\
**Post date:** [June 18, 2021, 8:48pm UTC](https://forum.makecode.com/t/how-do-you-create-a-menu/8800/4 "2021-06-18T20:48:31Z")

</div>

Where are the extensions? I can’t find them. BTW, your name is very interesting.

---

<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:** [June 18, 2021, 8:50pm UTC](https://forum.makecode.com/t/how-do-you-create-a-menu/8800/5 "2021-06-18T20:50:19Z")

</div>

The story extension allows for up to 5[?] choices but it isn’t as flexible as the block menu extension:

> **[riknoll/arcade-custom-menu](https://github.com/riknoll/arcade-custom-menu)**
>
> An extension for creating and displaying menus in MakeCode Arcade - riknoll/arcade-custom-menu
