# Help with debugging a new feature!

**URL:** <https://forum.makecode.com/t/help-with-debugging-a-new-feature/43520>\
**Category:** Help\
**Created:** [April 21, 2026, 5:57pm UTC](https://forum.makecode.com/t/help-with-debugging-a-new-feature/43520 "2026-04-21T17:57:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![top\_hat\_lord](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/top_hat_lord/32/33469_2.png) [@top\_hat\_lord](https://forum.makecode.com/u/top_hat_lord)\
**Post date:** [April 21, 2026, 5:57pm UTC](https://forum.makecode.com/t/help-with-debugging-a-new-feature/43520/1 "2026-04-21T17:57:30Z")

</div>

I was hoping to make a version of my most recent game for extra credit in math class(not really i just was hoping to show off my skills to my teacher tbh), and Im having toruble with this new enemy I’m making. the enemy is the small one with the orb following it. in the code this orb is meant to make all the other sprites have sprite data which makes them unkillable(sense destroying the explosion wasn’t enough apparently), but now sprites randomly don’t die/take damage. it would be great if you all could help!

if you cant seem to figure the particular code I’m talking about, just say so and ill add notes.

> **[ARM THE MISSLES!-math edition](https://arcade.makecode.com/S68706-36151-80318-99973)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![top\_hat\_lord](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/top_hat_lord/32/33469_2.png) [@top\_hat\_lord](https://forum.makecode.com/u/top_hat_lord)\
**Post date:** [April 21, 2026, 6:47pm UTC](https://forum.makecode.com/t/help-with-debugging-a-new-feature/43520/2 "2026-04-21T18:47:01Z")

</div>

I found the answer while this was pending.

---

<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:** [April 21, 2026, 9:00pm UTC](https://forum.makecode.com/t/help-with-debugging-a-new-feature/43520/3 "2026-04-21T21:00:18Z")

</div>

well I’d want to like this post but since I had 36 notifications in the past hour, I ran out of likes for the day.
