# Logic block for play sprites over lapping

**URL:** <https://forum.makecode.com/t/logic-block-for-play-sprites-over-lapping/43090>\
**Category:** Help\
**Tags:** game\
**Created:** [April 2, 2026, 2:51am UTC](https://forum.makecode.com/t/logic-block-for-play-sprites-over-lapping/43090 "2026-04-02T02:51:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mikey\_s.3000](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mikey_s.3000/32/24839_2.png) [@Mikey\_s.3000](https://forum.makecode.com/u/Mikey_s.3000)\
**Post date:** [April 2, 2026, 2:51am UTC](https://forum.makecode.com/t/logic-block-for-play-sprites-over-lapping/43090/1 "2026-04-02T02:51:48Z")

</div>

Is their a logic block out their for if sprite kinds over laps with other sprite kinds? For example “if sprite of player kind, overlaps with other sprite of enemy kind then…”

Here’s my makecode project: [https://makecode.com/\_92j69pPUDU2D](https://makecode.com/_92j69pPUDU2D)

 ![IMG_9255](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/2/c/2c77b7f61c30abf9cacb26ee84aaa003598d2f2e.jpeg)

---

<div class="post-metadata">

**Author:** ![TeddyB](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/teddyb/32/35627_2.png) [@TeddyB](https://forum.makecode.com/u/TeddyB)\
**Post date:** [April 2, 2026, 2:24pm UTC](https://forum.makecode.com/t/logic-block-for-play-sprites-over-lapping/43090/2 "2026-04-02T14:24:45Z")

</div>

I would say just put the if then statement in the player/enemy overlapping block
