# Why is overlap not working?

**URL:** <https://forum.makecode.com/t/why-is-overlap-not-working/40541>\
**Category:** Help\
**Created:** [November 18, 2025, 10:53pm UTC](https://forum.makecode.com/t/why-is-overlap-not-working/40541 "2025-11-18T22:53:07Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Goober](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/goober/32/29917_2.png) [@Goober](https://forum.makecode.com/u/Goober)\
**Post date:** [November 18, 2025, 10:53pm UTC](https://forum.makecode.com/t/why-is-overlap-not-working/40541/1 "2025-11-18T22:53:07Z")

</div>

im making a game about traffic signs fighting and while making my second character (a stop light) I came across a bug where sometimes the special move overlapping with the other player doesn’t work and I was wondering if anyone can help? [https://arcade.makecode.com/S21908-12124-38352-85081](https://arcade.makecode.com/S21908-12124-38352-85081)

---

<div class="post-metadata">

**Author:** ![Green\_Lizard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/green_lizard/32/33280_2.png) [@Green\_Lizard](https://forum.makecode.com/u/Green_Lizard)\
**Post date:** [November 19, 2025, 9:06pm UTC](https://forum.makecode.com/t/why-is-overlap-not-working/40541/2 "2025-11-19T21:06:33Z")

</div>

It might be because you have 6 forever loops, all trying to do actions at the same time.

---

<div class="post-metadata">

**Author:** ![codeFan413](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/codefan413/32/26855_2.png) [@codeFan413](https://forum.makecode.com/u/codeFan413)\
**Post date:** [November 19, 2025, 9:07pm UTC](https://forum.makecode.com/t/why-is-overlap-not-working/40541/3 "2025-11-19T21:07:26Z")

</div>

Here’s an example, so you can see more or less what 'i’m refering to.

 ![imagen](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/5/5/551bd1c35d8a0392a99ffcec8c2cd18dcbf7238b.png)

---

<div class="post-metadata">

**Author:** ![codeFan413](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/codefan413/32/26855_2.png) [@codeFan413](https://forum.makecode.com/u/codeFan413)\
**Post date:** [November 19, 2025, 9:07pm UTC](https://forum.makecode.com/t/why-is-overlap-not-working/40541/4 "2025-11-19T21:07:33Z")

</div>

I’m pretty sure the overlapping event can only trigger if one of the sprite’s position is being updated. Maybe try using the **\<is Sprite touching Sprite?\>** predicate, because it should check if the sprites are touching regardless of if they are moving or not.

---

<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 20, 2025, 5:24am UTC](https://forum.makecode.com/t/why-is-overlap-not-working/40541/5 "2025-11-20T05:24:15Z")

</div>

While I can’t seem to replicate this bug, I can tell you that there is a bug with the current sprite overlap code the should be fixed in the next Arcade release, though I don’t think your sprites fit the requirements to cause the bug, I could be wrong. Too many Forever loops is definitely not the issue, and the normal sprite overlaps block does still activate when both sprites are not moving. The only other thing I know of is that putting wait blocks inside sprite overlap blocks sometimes acts really weird, so maybe try switching to those “for (“action”)…” blocks?

Btw, that word “action” inside the “for (“action”) at most once every (ms) do…” block is for keeping track of the action that’s being timed, so unless you want the player 2 attacks to stop when player 1 shoots an attack, you should change that word to something else in every block. That also could be causing your issue, but I don’t think so.

This is a super fun idea for a game! I would love to play it when it’s done!

---

<div class="post-metadata">

**Author:** ![Goober](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/goober/32/29917_2.png) [@Goober](https://forum.makecode.com/u/Goober)\
**Post date:** [November 20, 2025, 5:26am UTC](https://forum.makecode.com/t/why-is-overlap-not-working/40541/6 "2025-11-20T05:26:14Z")

</div>

I tried it and it didn’t work sadly

---

<div class="post-metadata">

**Author:** ![ItzWolfeel](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/itzwolfeel/32/25239_2.png) [@ItzWolfeel](https://forum.makecode.com/u/ItzWolfeel)\
**Post date:** [November 20, 2025, 4:21pm UTC](https://forum.makecode.com/t/why-is-overlap-not-working/40541/7 "2025-11-20T16:21:35Z")

</div>

I just wanna say that this game is awesome! It’s really neatly made. I haven’t really seen this bug, but I hope you continue this game!

---

<div class="post-metadata">

**Author:** ![Goober](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/goober/32/29917_2.png) [@Goober](https://forum.makecode.com/u/Goober)\
**Post date:** [November 23, 2025, 12:04am UTC](https://forum.makecode.com/t/why-is-overlap-not-working/40541/8 "2025-11-23T00:04:03Z")

</div>

Thank you for your help, I tried both solutions and they didn’t seem to work, but I’m sure the arcade release will help a lot! and I’ll definitely upload the game when I complete it. 😃

---

<div class="post-metadata">

**Author:** ![Goober](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/goober/32/29917_2.png) [@Goober](https://forum.makecode.com/u/Goober)\
**Post date:** [November 23, 2025, 12:04am UTC](https://forum.makecode.com/t/why-is-overlap-not-working/40541/9 "2025-11-23T00:04:19Z")

</div>

I forgot to ask something, do you know when the next arcade release is?

---

<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 23, 2025, 4:49am UTC](https://forum.makecode.com/t/why-is-overlap-not-working/40541/10 "2025-11-23T04:49:42Z")

</div>

No, sorry. I don’t remember. I think they are working pretty hard on it, so it should be soon? But also Richard is going on vacation for a week soon so I don’t think it will be very soon. Like within 2 months maybe? Idk. I think they said a vague time on stream. @richard do you have an estimate?

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [November 25, 2025, 1:56am UTC](https://forum.makecode.com/t/why-is-overlap-not-working/40541/11 "2025-11-25T01:56:00Z")

</div>

i think the plan is end of january, but that’s subject to change

---

<div class="post-metadata">

**Author:** ![Goober](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/goober/32/29917_2.png) [@Goober](https://forum.makecode.com/u/Goober)\
**Post date:** [March 10, 2026, 2:21am UTC](https://forum.makecode.com/t/why-is-overlap-not-working/40541/12 "2026-03-10T02:21:06Z")

</div>

hi guys I’m back 😃 I just checked and the code is working!!! I’ll see if I can finish the game soon, but I’m currently working on a different project based on a certain mascot horror game 😉
