# Cursor controlled menu (demo)

**URL:** <https://forum.makecode.com/t/cursor-controlled-menu-demo/34805>\
**Category:** Arcade\
**Tags:** graphics-and-math, demo\
**Created:** [March 22, 2025, 6:31pm UTC](https://forum.makecode.com/t/cursor-controlled-menu-demo/34805 "2025-03-22T18:31:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [March 22, 2025, 6:31pm UTC](https://forum.makecode.com/t/cursor-controlled-menu-demo/34805/1 "2025-03-22T18:31:02Z")

</div>

Ok so basically I wanted to make a small, neat test of the new browser events from the new Makecode update! Nothing special… not to me at least, there will definitely be people who need something like this, so I thought I would my implementation, considering it works so well.

> **[cursor controlled menu](https://arcade.makecode.com/S07023-31672-91400-20126)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![BotWarrior](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/botwarrior/32/25328_2.png) [@BotWarrior](https://forum.makecode.com/u/BotWarrior)\
**Post date:** [March 22, 2025, 11:25pm UTC](https://forum.makecode.com/t/cursor-controlled-menu-demo/34805/2 "2025-03-22T23:25:30Z")

</div>

So many cool things that you can do!!! I agree that the custom menu might need to have an option for cursor controlled.

---

<div class="post-metadata">

**Author:** ![ShaneyBoi09](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/shaneyboi09/32/18893_2.png) [@ShaneyBoi09](https://forum.makecode.com/u/ShaneyBoi09)\
**Post date:** [March 23, 2025, 9:32pm UTC](https://forum.makecode.com/t/cursor-controlled-menu-demo/34805/3 "2025-03-23T21:32:05Z")

</div>

I think I’m in love 🤩

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [March 24, 2025, 2:35am UTC](https://forum.makecode.com/t/cursor-controlled-menu-demo/34805/4 "2025-03-24T02:35:18Z")

</div>

🤣  
Well, it’s not a complete project! If you add a title or a border it kinda breaks, and if you use the arrow keys it also breaks. I’ll probably make a very small extension that adds a JavaScript version of the code. One that doesn’t have these problems. In JavaScript you can directly set the selected index of the menu, so moving the menu with the arrow keys won’t mess it up! I can also add checks for if there is a title, border, etc…
