# My projectile overlapping the second enemy just destroyes "Enemies" and not "Enemies2"

**URL:** <https://forum.makecode.com/t/my-projectile-overlapping-the-second-enemy-just-destroyes-enemies-and-not-enemies2/20771>\
**Category:** Help\
**Tags:** game\
**Created:** [June 21, 2023, 8:36pm UTC](https://forum.makecode.com/t/my-projectile-overlapping-the-second-enemy-just-destroyes-enemies-and-not-enemies2/20771 "2023-06-21T20:36:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Green\_Spawner153](https://avatars.discourse-cdn.com/v4/letter/g/6a8cbe/32.png) [@Green\_Spawner153](https://forum.makecode.com/u/Green_Spawner153)\
**Post date:** [June 21, 2023, 8:36pm UTC](https://forum.makecode.com/t/my-projectile-overlapping-the-second-enemy-just-destroyes-enemies-and-not-enemies2/20771/1 "2023-06-21T20:36:33Z")

</div>

just as the text says also i will try to upload the code

> **[ds](https://arcade.makecode.com/S20876-61172-05403-94315)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![YuHayate](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/yuhayate/32/8275_2.png) [@YuHayate](https://forum.makecode.com/u/YuHayate)\
**Post date:** [June 23, 2023, 5:08pm UTC](https://forum.makecode.com/t/my-projectile-overlapping-the-second-enemy-just-destroyes-enemies-and-not-enemies2/20771/2 "2023-06-23T17:08:03Z")

</div>

now you see, where you detect the overlap instead of putting a set sprite, use the otherSprite in the block like this  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/7/78089a3961e692a3edbea5babbba198916bb633e.png)
