# Can you disable the builtin menu in Arcade?

**URL:** <https://forum.makecode.com/t/can-you-disable-the-builtin-menu-in-arcade/20010>\
**Category:** Arcade\
**Tags:** extension\
**Created:** [May 16, 2023, 4:13pm UTC](https://forum.makecode.com/t/can-you-disable-the-builtin-menu-in-arcade/20010 "2023-05-16T16:13:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ETesseract](https://avatars.discourse-cdn.com/v4/letter/e/46a35a/32.png) [@ETesseract](https://forum.makecode.com/u/ETesseract)\
**Post date:** [May 16, 2023, 4:13pm UTC](https://forum.makecode.com/t/can-you-disable-the-builtin-menu-in-arcade/20010/1 "2023-05-16T16:13:37Z")

</div>

I want to disable the menu builtin to Arcade to use my own menus for games and others, is it possible? If not, what is the purpose of the `controller.menu` button?

---

<div class="post-metadata">

**Author:** ![jwunderl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jwunderl/32/5308_2.png) [@jwunderl](https://forum.makecode.com/u/jwunderl)\
**Post date:** [May 16, 2023, 4:14pm UTC](https://forum.makecode.com/t/can-you-disable-the-builtin-menu-in-arcade/20010/2 "2023-05-16T16:14:45Z")

</div>

If you set a controller event for `on menu button pressed` it will override the default menu.

---

<div class="post-metadata">

**Author:** ![ETesseract](https://avatars.discourse-cdn.com/v4/letter/e/46a35a/32.png) [@ETesseract](https://forum.makecode.com/u/ETesseract)\
**Post date:** [May 16, 2023, 5:16pm UTC](https://forum.makecode.com/t/can-you-disable-the-builtin-menu-in-arcade/20010/3 "2023-05-16T17:16:07Z")

</div>

How would I do this?

---

<div class="post-metadata">

**Author:** ![jwunderl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jwunderl/32/5308_2.png) [@jwunderl](https://forum.makecode.com/u/jwunderl)\
**Post date:** [May 16, 2023, 5:39pm UTC](https://forum.makecode.com/t/can-you-disable-the-builtin-menu-in-arcade/20010/4 "2023-05-16T17:39:36Z")

</div>

The menu button is (mostly) a normal button, so e.g. like this:

> **[Duck-o](https://arcade.makecode.com/S09959-32175-55667-84318)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/9/99f4b7d3537944a933c998e5c5202f3f5e8ba995.png)

This portion of the code is the bit that registers the system menu on the scene: [https://github.com/microsoft/pxt-common-packages/blob/6116f6a5634e45fe0bd21ea6d2e5e19d4f57b925/libs/game/systemmenu.ts#L386](https://github.com/microsoft/pxt-common-packages/blob/6116f6a5634e45fe0bd21ea6d2e5e19d4f57b925/libs/game/systemmenu.ts#L386)  
– we only allow one button handler for the given event so setting a new one just overrides it.
