# Problem with my enemie projectile

**URL:** <https://forum.makecode.com/t/problem-with-my-enemie-projectile/22446>\
**Category:** Arcade\
**Created:** [September 13, 2023, 4:29pm UTC](https://forum.makecode.com/t/problem-with-my-enemie-projectile/22446 "2023-09-13T16:29:33Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![sim1o](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@sim1o](https://forum.makecode.com/u/sim1o)\
**Post date:** [September 13, 2023, 4:29pm UTC](https://forum.makecode.com/t/problem-with-my-enemie-projectile/22446/1 "2023-09-13T16:29:33Z")

</div>

I have a problem I try to make an enemie who shoot a projectile but when I start the game it dont work and the projectile stay in the enemie.

---

<div class="post-metadata">

**Author:** ![Mega0star01](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mega0star01/32/14784_2.png) [@Mega0star01](https://forum.makecode.com/u/Mega0star01)\
**Post date:** [September 13, 2023, 9:34pm UTC](https://forum.makecode.com/t/problem-with-my-enemie-projectile/22446/2 "2023-09-13T21:34:08Z")

</div>

Could you please share the project.

---

<div class="post-metadata">

**Author:** ![Mega0star01](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mega0star01/32/14784_2.png) [@Mega0star01](https://forum.makecode.com/u/Mega0star01)\
**Post date:** [September 13, 2023, 9:34pm UTC](https://forum.makecode.com/t/problem-with-my-enemie-projectile/22446/3 "2023-09-13T21:34:10Z")

</div>

Could you please share the project.

---

<div class="post-metadata">

**Author:** ![ChimbroDaPro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/chimbrodapro/32/15852_2.png) [@ChimbroDaPro](https://forum.makecode.com/u/ChimbroDaPro)\
**Post date:** [September 18, 2023, 5:34pm UTC](https://forum.makecode.com/t/problem-with-my-enemie-projectile/22446/4 "2023-09-18T17:34:58Z")

</div>

Just give the projectile a vx or vy, or make it follow a sprite. 🙂

---

<div class="post-metadata">

**Author:** ![sim1o](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@sim1o](https://forum.makecode.com/u/sim1o)\
**Post date:** [September 18, 2023, 5:48pm UTC](https://forum.makecode.com/t/problem-with-my-enemie-projectile/22446/5 "2023-09-18T17:48:54Z")

</div>

Thanks! I have an other question: how to destroy the projectile when he hit a another porjectile like: when I shoot on the enemie porjectile

---

<div class="post-metadata">

**Author:** ![sim1o](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@sim1o](https://forum.makecode.com/u/sim1o)\
**Post date:** [September 18, 2023, 5:51pm UTC](https://forum.makecode.com/t/problem-with-my-enemie-projectile/22446/6 "2023-09-18T17:51:50Z")

</div>

and my enemie keep shooting when they die

---

<div class="post-metadata">

**Author:** ![sim1o](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@sim1o](https://forum.makecode.com/u/sim1o)\
**Post date:** [September 18, 2023, 6:20pm UTC](https://forum.makecode.com/t/problem-with-my-enemie-projectile/22446/7 "2023-09-18T18:20:40Z")

</div>

> **[game](https://arcade.makecode.com/S32991-15751-66288-63144)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![ChimbroDaPro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/chimbrodapro/32/15852_2.png) [@ChimbroDaPro](https://forum.makecode.com/u/ChimbroDaPro)\
**Post date:** [September 29, 2023, 11:25pm UTC](https://forum.makecode.com/t/problem-with-my-enemie-projectile/22446/8 "2023-09-29T23:25:04Z")

</div>

Ok so like when the projectile overlaps the sprite just destroy it
