# In my game i can't find a way to make the projectiles ONLY destroy specific ememies (solarpanel destroys thermal powerplant,ect)

**URL:** <https://forum.makecode.com/t/in-my-game-i-cant-find-a-way-to-make-the-projectiles-only-destroy-specific-ememies-solarpanel-destroys-thermal-powerplant-ect/28356>\
**Category:** Help\
**Created:** [April 21, 2024, 6:32pm UTC](https://forum.makecode.com/t/in-my-game-i-cant-find-a-way-to-make-the-projectiles-only-destroy-specific-ememies-solarpanel-destroys-thermal-powerplant-ect/28356 "2024-04-21T18:32:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SOULBOWL](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@SOULBOWL](https://forum.makecode.com/u/SOULBOWL)\
**Post date:** [April 21, 2024, 6:32pm UTC](https://forum.makecode.com/t/in-my-game-i-cant-find-a-way-to-make-the-projectiles-only-destroy-specific-ememies-solarpanel-destroys-thermal-powerplant-ect/28356/1 "2024-04-21T18:32:05Z")

</div>

> **[EART DATT! #2](https://arcade.makecode.com/S73878-69692-71144-13260)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![sillysnowi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sillysnowi/32/14304_2.png) [@sillysnowi](https://forum.makecode.com/u/sillysnowi)\
**Post date:** [April 22, 2024, 4:44pm UTC](https://forum.makecode.com/t/in-my-game-i-cant-find-a-way-to-make-the-projectiles-only-destroy-specific-ememies-solarpanel-destroys-thermal-powerplant-ect/28356/2 "2024-04-22T16:44:25Z")

</div>

You could use the Sprite Data extension to add specific types of projectiles and enemies in the form of a string or number within that sprite.

---

<div class="post-metadata">

**Author:** ![CopySprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/copysprite/32/35475_2.png) [@CopySprite](https://forum.makecode.com/u/CopySprite)\
**Post date:** [April 22, 2024, 11:14pm UTC](https://forum.makecode.com/t/in-my-game-i-cant-find-a-way-to-make-the-projectiles-only-destroy-specific-ememies-solarpanel-destroys-thermal-powerplant-ect/28356/3 "2024-04-22T23:14:39Z")

</div>

As I said…  
In the overlap section of the sprites category you will find this…  
 ![Screenshot 2024-04-21 3.05.59 PM](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/f/f8c2d6bd13bbce0d31087af1baa9d8180d52d36a.png)  
Then just put it right after the projectile is created and you have a different type of projectile!👍  
If you use blocks that is if you don’t it will look different.
