# I have tried everything and i just cant fix this sprite overlap bug

**URL:** <https://forum.makecode.com/t/i-have-tried-everything-and-i-just-cant-fix-this-sprite-overlap-bug/40361>\
**Category:** Help\
**Created:** [November 10, 2025, 6:16pm UTC](https://forum.makecode.com/t/i-have-tried-everything-and-i-just-cant-fix-this-sprite-overlap-bug/40361 "2025-11-10T18:16:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sickly-Fish](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sickly-fish/32/24873_2.png) [@Sickly-Fish](https://forum.makecode.com/u/Sickly-Fish)\
**Post date:** [November 10, 2025, 6:16pm UTC](https://forum.makecode.com/t/i-have-tried-everything-and-i-just-cant-fix-this-sprite-overlap-bug/40361/1 "2025-11-10T18:16:54Z")

</div>

ive been trying to fix this in my game jam game for the past 3 days to no avail

> **[block thievery](https://arcade.makecode.com/S28410-92277-00096-92483)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

basically. theres a hitbox for the detection and it moves when the guard turns via game update interval. and if your uncloaked and you overlap with the detection hitbox its supposed to alert the guard but somehow someway whenever you overlap with the hitbox nothing happens but if you say jump out of the hitbox it somehow works?

---

<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:** [November 11, 2025, 4:03am UTC](https://forum.makecode.com/t/i-have-tried-everything-and-i-just-cant-fix-this-sprite-overlap-bug/40361/2 "2025-11-11T04:03:22Z")

</div>

Yeah, this is an issue with the actual sprite overlaps code not working. Just asked @jwunderl about it on stream. He says he thought it got fixed but apparently not, and it will be fixed in the next release. For now, you can make the sight beam wider. It seems that the sprite overlaps only work if one of the objects contains a corner of the other object, so at long as the sight beam is taller than the player this will always be the case when they are overlapping.
