# What is the error?

**URL:** <https://forum.makecode.com/t/what-is-the-error/3275>\
**Category:** Arcade\
**Created:** [August 30, 2020, 3:00am UTC](https://forum.makecode.com/t/what-is-the-error/3275 "2020-08-30T03:00:28Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![LcAtonal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lcatonal/32/16800_2.png) [@LcAtonal](https://forum.makecode.com/u/LcAtonal)\
**Post date:** [August 30, 2020, 3:00am UTC](https://forum.makecode.com/t/what-is-the-error/3275/1 "2020-08-30T03:00:28Z")

</div>

![Screen Shot 2020-08-30 at 10.57.16 AM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/d/d12c5c3da0dbb7b2d1f5e6aa218232dff2e55d66.png)  

> **[Where is the error?](https://arcade.makecode.com/73541-00610-72005-97254)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

  
Where is the error?  
Look at the “on button A pressed”

---

<div class="post-metadata">

**Author:** ![AlexK](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alexk/32/33339_2.png) [@AlexK](https://forum.makecode.com/u/AlexK)\
**Post date:** [August 30, 2020, 4:58am UTC](https://forum.makecode.com/t/what-is-the-error/3275/2 "2020-08-30T04:58:26Z")

</div>

I’m guessing it’s in the `else` part of the block, where you’re comparing `projectile 3` (which appears to be a sprite) with a number. If you hover your mouse over the exclamation point, does an error message pop up?

---

<div class="post-metadata">

**Author:** ![LcAtonal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lcatonal/32/16800_2.png) [@LcAtonal](https://forum.makecode.com/u/LcAtonal)\
**Post date:** [August 30, 2020, 5:59am UTC](https://forum.makecode.com/t/what-is-the-error/3275/3 "2020-08-30T05:59:47Z")

</div>

Yes it did. Thanks! I did not notice that

---

<div class="post-metadata">

**Author:** ![purna079](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/purna079/32/4018_2.png) [@purna079](https://forum.makecode.com/u/purna079)\
**Post date:** [August 31, 2020, 3:27pm UTC](https://forum.makecode.com/t/what-is-the-error/3275/4 "2020-08-31T15:27:27Z")

</div>

I cant seem to get of the ocean floor

---

<div class="post-metadata">

**Author:** ![purna079](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/purna079/32/4018_2.png) [@purna079](https://forum.makecode.com/u/purna079)\
**Post date:** [August 31, 2020, 3:29pm UTC](https://forum.makecode.com/t/what-is-the-error/3275/5 "2020-08-31T15:29:25Z")

</div>

and why do you have hearts AND a status bar and when you press A you damage yourself 🤣

---

<div class="post-metadata">

**Author:** ![LcAtonal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lcatonal/32/16800_2.png) [@LcAtonal](https://forum.makecode.com/u/LcAtonal)\
**Post date:** [September 1, 2020, 6:32am UTC](https://forum.makecode.com/t/what-is-the-error/3275/6 "2020-09-01T06:32:29Z")

</div>

A is to shoot and the status bar is the ammo

---

<div class="post-metadata">

**Author:** ![LcAtonal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lcatonal/32/16800_2.png) [@LcAtonal](https://forum.makecode.com/u/LcAtonal)\
**Post date:** [September 1, 2020, 7:01am UTC](https://forum.makecode.com/t/what-is-the-error/3275/7 "2020-09-01T07:01:22Z")

</div>

You should look at the long code to see why it glitched

---

<div class="post-metadata">

**Author:** ![LcAtonal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lcatonal/32/16800_2.png) [@LcAtonal](https://forum.makecode.com/u/LcAtonal)\
**Post date:** [September 1, 2020, 7:03am UTC](https://forum.makecode.com/t/what-is-the-error/3275/8 "2020-09-01T07:03:03Z")

</div>

Are you using a computer?If you are not, the code is the the reason.

---

<div class="post-metadata">

**Author:** ![annapurna079](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@annapurna079](https://forum.makecode.com/u/annapurna079)\
**Post date:** [September 1, 2020, 4:03pm UTC](https://forum.makecode.com/t/what-is-the-error/3275/9 "2020-09-01T16:03:02Z")

</div>

I like the game! you should try my skeleton Run. It is a race against time. Plus it is super hard but you can beat it.
