# Game movement not working

**URL:** <https://forum.makecode.com/t/game-movement-not-working/44364>\
**Category:** Help\
**Tags:** game\
**Created:** [June 5, 2026, 3:38pm UTC](https://forum.makecode.com/t/game-movement-not-working/44364 "2026-06-05T15:38:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zacharoni](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/zacharoni/32/35303_2.png) [@Zacharoni](https://forum.makecode.com/u/Zacharoni)\
**Post date:** [June 5, 2026, 3:38pm UTC](https://forum.makecode.com/t/game-movement-not-working/44364/1 "2026-06-05T15:38:24Z")

</div>

Hello I’m trying to make a main menu for my game and I mainly did this with speghetti code but it worked until it didn’t. When I finally enter the game I can’t jump or use any abilities I made at all. I used this trick but it’s not working:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/c/f/cf72347de6dc5164714ecdacfd30ea452fd32685.png)

Any solutions? Heres the game:

> **[Space Speedrun: Astroms Odyysey 0.6](https://arcade.makecode.com/S87623-96829-89830-07379)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<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:** [June 5, 2026, 4:43pm UTC](https://forum.makecode.com/t/game-movement-not-working/44364/2 "2026-06-05T16:43:50Z")

</div>

Looks like you have two variables, “Button **s** Active” and “ButtonActive” and you are using the wrong one sometimes. Just change all of them to one and delete the other to avoid confusion, or rename one if it’s meant for something else.

 ![Screenshot 2026-06-05 at 12.07.58 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/c/7/c7e000e3fd1bbfb1d5fc5ce20e1c5069f9591ec6.png)

---

<div class="post-metadata">

**Author:** ![VoxelMaster64](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/voxelmaster64/32/32075_2.png) [@VoxelMaster64](https://forum.makecode.com/u/VoxelMaster64)\
**Post date:** [June 5, 2026, 4:43pm UTC](https://forum.makecode.com/t/game-movement-not-working/44364/3 "2026-06-05T16:43:54Z")

</div>

the issues is that in starting\_game() you’re making the wrong variable true. your setting buttonsactive but there should be no s, aka buttonactive

---

<div class="post-metadata">

**Author:** ![Zacharoni](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/zacharoni/32/35303_2.png) [@Zacharoni](https://forum.makecode.com/u/Zacharoni)\
**Post date:** [July 7, 2026, 2:11am UTC](https://forum.makecode.com/t/game-movement-not-working/44364/4 "2026-07-07T02:11:21Z")

</div>

Thank you! I’m so stupid
