# Projectile Help Needed!

**URL:** <https://forum.makecode.com/t/projectile-help-needed/33832>\
**Category:** Help\
**Tags:** game\
**Created:** [February 13, 2025, 5:01am UTC](https://forum.makecode.com/t/projectile-help-needed/33832 "2025-02-13T05:01:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Terminator](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/terminator/32/14612_2.png) [@Terminator](https://forum.makecode.com/u/Terminator)\
**Post date:** [February 13, 2025, 5:01am UTC](https://forum.makecode.com/t/projectile-help-needed/33832/1 "2025-02-13T05:01:33Z")

</div>

Im not sure how to make it such that the projectiles shoot towards the player, so far i’ve been using the “follow sprite” function.  
Help will be **appreciated**

> **[enemy test- v1](https://arcade.makecode.com/S71525-71686-05794-39019)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![CollapsedAxolotl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/collapsedaxolotl/32/19395_2.png) [@CollapsedAxolotl](https://forum.makecode.com/u/CollapsedAxolotl)\
**Post date:** [February 13, 2025, 8:22pm UTC](https://forum.makecode.com/t/projectile-help-needed/33832/2 "2025-02-13T20:22:03Z")

</div>

You could refer to this post I found. It is for shooting 3 projectiles, but it’s pretty easily customizable to just one. [How to make enemy projectiles shoot in the direction of the player?](https://forum.makecode.com/t/how-to-make-enemy-projectiles-shoot-in-the-direction-of-the-player/30087)

---

<div class="post-metadata">

**Author:** ![Gl125371](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gl125371/32/29131_2.png) [@Gl125371](https://forum.makecode.com/u/Gl125371)\
**Post date:** [February 14, 2025, 2:37am UTC](https://forum.makecode.com/t/projectile-help-needed/33832/3 "2025-02-14T02:37:14Z")

</div>

You could use this for the enemy or the projectile. [Tilemap Path Finding ( a\* ) (beta)](https://forum.makecode.com/t/tilemap-path-finding-a-beta/1846)

---

<div class="post-metadata">

**Author:** ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)\
**Post date:** [February 14, 2025, 5:49pm UTC](https://forum.makecode.com/t/projectile-help-needed/33832/4 "2025-02-14T17:49:21Z")

</div>

> **[enemy test- v1 (randomuser fix)](https://arcade.makecode.com/13276-47569-77176-06045)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

For the velocity x and y, I used the function that the follow sprite block uses, but now it doesn’t update so it stays in the same direction 😃

---

<div class="post-metadata">

**Author:** ![Terminator](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/terminator/32/14612_2.png) [@Terminator](https://forum.makecode.com/u/Terminator)\
**Post date:** [February 14, 2025, 5:56pm UTC](https://forum.makecode.com/t/projectile-help-needed/33832/5 "2025-02-14T17:56:12Z")

</div>

Thanks a lot, I’ll definetely use that but my PLD just BLOCKED MAKECODE  
Absolutely outrageous
