Can you disable the builtin menu in Arcade?

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?

1 Like

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

2 Likes

How would I do this?

1 Like

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

image

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
– we only allow one button handler for the given event so setting a new one just overrides it.

2 Likes