# Help w/help

**URL:** <https://forum.makecode.com/t/help-w-help/29687>\
**Category:** Help\
**Created:** [July 14, 2024, 5:47pm UTC](https://forum.makecode.com/t/help-w-help/29687 "2024-07-14T17:47:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Astro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/astro/32/35479_2.png) [@Astro](https://forum.makecode.com/u/Astro)\
**Post date:** [July 14, 2024, 5:47pm UTC](https://forum.makecode.com/t/help-w-help/29687/1 "2024-07-14T17:47:17Z")

</div>

I want to make beat saber in makecode, and 2D, but my code isnt working.

Could someone help?

> **[Beat Controller](https://arcade.makecode.com/S59952-78633-73085-24604)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![Octodemon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/octodemon/32/15417_2.png) [@Octodemon](https://forum.makecode.com/u/Octodemon)\
**Post date:** [July 15, 2024, 12:33am UTC](https://forum.makecode.com/t/help-w-help/29687/2 "2024-07-15T00:33:26Z")

</div>

Can you explain what you want the code to do in further detail?

---

<div class="post-metadata">

**Author:** ![Astro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/astro/32/35479_2.png) [@Astro](https://forum.makecode.com/u/Astro)\
**Post date:** [July 15, 2024, 5:41pm UTC](https://forum.makecode.com/t/help-w-help/29687/3 "2024-07-15T17:41:50Z")

</div>

oH, yeah, i want the block to dissapear when i hit the direction. i tried using some of the code from the arrow battle tutorial, but that didnt work

---

<div class="post-metadata">

**Author:** ![Octodemon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/octodemon/32/15417_2.png) [@Octodemon](https://forum.makecode.com/u/Octodemon)\
**Post date:** [July 15, 2024, 9:35pm UTC](https://forum.makecode.com/t/help-w-help/29687/4 "2024-07-15T21:35:32Z")

</div>

Here, I fixed your code’s issue

> **[Beat Controller](https://arcade.makecode.com/13416-06979-83808-60209)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

The problem was here with this line of code

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/8/b/8b6745c160d49f7b7934d67c7a53c898bf8b7b45.png)  
In MakeCode this doesn’t work so there is an other block for it instead.  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/e/d/edf168d38f584cfad31e41ad63d0cef51e9a8817.png)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/7/6/76e38304ae630de3c4fad935fcdd0180576ed732.png)  
The function I added was to test if the Player’s image and the Beat’s image were the same. If they are the player gains a point. If they aren’t the player looses a point. I hope this helps!
