# Help(WithEasyProblem)

**URL:** <https://forum.makecode.com/t/help-witheasyproblem/34830>\
**Category:** Arcade\
**Created:** [March 23, 2025, 1:20pm UTC](https://forum.makecode.com/t/help-witheasyproblem/34830 "2025-03-23T13:20:53Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fixitude](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/fixitude/32/28576_2.png) [@Fixitude](https://forum.makecode.com/u/Fixitude)\
**Post date:** [March 23, 2025, 1:20pm UTC](https://forum.makecode.com/t/help-witheasyproblem/34830/1 "2025-03-23T13:20:53Z")

</div>

Is there any way to tell if a button is held down and for how long because I am attempting to regain health when you hold the button down but I don’t want to use score as a way of checking, please respond as quickly as possible.  
In advance thanks,  
Fixitude

---

<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 23, 2025, 4:02pm UTC](https://forum.makecode.com/t/help-witheasyproblem/34830/2 "2025-03-23T16:02:19Z")

</div>

Yep! Instead of using the “On Button Pressed” blocks, you could use some “if ” blocks inside an On Game Update block. You could make a variable like “Button A Press Time” and increase in by 1 every time the A button is pressed, and if the A button is ever not pressed you set the variable to 0!

Like this:

 ![IMG_7974](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/5/a/5a115f08b738f4272014eacf95a6ac4f89ef8723.jpeg)

---

<div class="post-metadata">

**Author:** ![Reflectfr](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/reflectfr/32/32515_2.png) [@Reflectfr](https://forum.makecode.com/u/Reflectfr)\
**Post date:** [March 23, 2025, 4:27pm UTC](https://forum.makecode.com/t/help-witheasyproblem/34830/3 "2025-03-23T16:27:44Z")

</div>

I think the button repeat on controller does this, (on a button repeatj

---

<div class="post-metadata">

**Author:** ![Fixitude](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/fixitude/32/28576_2.png) [@Fixitude](https://forum.makecode.com/u/Fixitude)\
**Post date:** [March 23, 2025, 9:39pm UTC](https://forum.makecode.com/t/help-witheasyproblem/34830/4 "2025-03-23T21:39:37Z")

</div>

Thank you so much, that has helped massively I have one problem with it though, when I go through the normal system it works fine, so does shooting. When I go through the menu system it doesn’t work and the shooting doesn’t shoot both directions, very weird…

---

<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/help-witheasyproblem/34830/5 "2025-03-24T02:35:51Z")

</div>

I would have to see the code you’re working on to figure that one out. Are you saying that the System Menu, the one that opens when you press the menu button, is messing something up? Anyways, I’m glad it worked!

---

<div class="post-metadata">

**Author:** ![Fixitude](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/fixitude/32/28576_2.png) [@Fixitude](https://forum.makecode.com/u/Fixitude)\
**Post date:** [March 28, 2025, 6:59pm UTC](https://forum.makecode.com/t/help-witheasyproblem/34830/6 "2025-03-28T18:59:01Z")

</div>

Okay. (Breath In… Out…) I love my game but it has more errors then I can count on my fingers that I have no clue how to fix, I will provide the link (WITH AGONY) and Realease this early version of my game, please if you have time play my game to every Avenue you can think of and troubleshoot problems and once you have done that put it back in this chat and I will update it to my version.

---

<div class="post-metadata">

**Author:** ![Fixitude](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/fixitude/32/28576_2.png) [@Fixitude](https://forum.makecode.com/u/Fixitude)\
**Post date:** [March 28, 2025, 10:10pm UTC](https://forum.makecode.com/t/help-witheasyproblem/34830/7 "2025-03-28T22:10:37Z")

</div>

> **[Shadow Master (Please Type In What You Fixed In Here)](https://arcade.makecode.com/S67462-27907-86597-25576)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![Fixitude](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/fixitude/32/28576_2.png) [@Fixitude](https://forum.makecode.com/u/Fixitude)\
**Post date:** [April 1, 2025, 6:07pm UTC](https://forum.makecode.com/t/help-witheasyproblem/34830/8 "2025-04-01T18:07:57Z")

</div>

I am kinda depressed, I can’t work on my game till it gets fixed and after a 3 days I have fixed one problem the shooting facing problem. ☹

---

<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:** [April 7, 2025, 3:05am UTC](https://forum.makecode.com/t/help-witheasyproblem/34830/9 "2025-04-07T03:05:12Z")

</div>

> **[Shadow Master (uh i think menu stuff I forget)](https://arcade.makecode.com/S70729-47614-13737-57638)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

I did this like 2 days ago so I don’t really remember everything I did. I believe I fixed some stuff with the start menu? Like being able to press B in the 2nd menu to start the game without the menu being destroyed.

---

<div class="post-metadata">

**Author:** ![Fixitude](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/fixitude/32/28576_2.png) [@Fixitude](https://forum.makecode.com/u/Fixitude)\
**Post date:** [April 7, 2025, 4:55pm UTC](https://forum.makecode.com/t/help-witheasyproblem/34830/10 "2025-04-07T16:55:05Z")

</div>

Thanks, That helps.
