# Help me fix this bug please!

**URL:** <https://forum.makecode.com/t/help-me-fix-this-bug-please/39341>\
**Category:** Help\
**Created:** [September 18, 2025, 4:09pm UTC](https://forum.makecode.com/t/help-me-fix-this-bug-please/39341 "2025-09-18T16:09:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![abc](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/abc/32/26178_2.png) [@abc](https://forum.makecode.com/u/abc)\
**Post date:** [September 18, 2025, 4:09pm UTC](https://forum.makecode.com/t/help-me-fix-this-bug-please/39341/1 "2025-09-18T16:09:17Z")

</div>

> **[Card fighting game thing](https://arcade.makecode.com/S38665-77131-37940-85933)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

I need help fixing the shield, sometimes when you run into a wall the shield disappears and I don’t know what to do to fix it ;-; (I put destroy on wall off too)

(Oh and ignore the thing at 25 points it isn’t finished yet)

---

<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:** [September 18, 2025, 5:35pm UTC](https://forum.makecode.com/t/help-me-fix-this-bug-please/39341/2 "2025-09-18T17:35:05Z")

</div>

You set “mySprite” destroy on wall off instead of “projectile”. If fixing that doesn’t work, try turning “auto destroy” off as well, which destroys the sprite when it moves off screen.

---

<div class="post-metadata">

**Author:** ![abc](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/abc/32/26178_2.png) [@abc](https://forum.makecode.com/u/abc)\
**Post date:** [September 18, 2025, 5:42pm UTC](https://forum.makecode.com/t/help-me-fix-this-bug-please/39341/3 "2025-09-18T17:42:31Z")

</div>

Thanks
