# Enemy follow my sprite help

**URL:** <https://forum.makecode.com/t/enemy-follow-my-sprite-help/39366>\
**Category:** Help\
**Tags:** game\
**Created:** [September 19, 2025, 7:15pm UTC](https://forum.makecode.com/t/enemy-follow-my-sprite-help/39366 "2025-09-19T19:15:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raccoonux](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@Raccoonux](https://forum.makecode.com/u/Raccoonux)\
**Post date:** [September 19, 2025, 7:15pm UTC](https://forum.makecode.com/t/enemy-follow-my-sprite-help/39366/1 "2025-09-19T19:15:36Z")

</div>

So, I am making a side to side space shooter with freeplay and levels system, I have a set number of enemy’s spawn but I want them to follow mysprite with a vy that is less than their vx, though I cant quite get it to work, any ideas?

---

<div class="post-metadata">

**Author:** ![Green\_Lizard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/green_lizard/32/33280_2.png) [@Green\_Lizard](https://forum.makecode.com/u/Green_Lizard)\
**Post date:** [September 24, 2025, 2:52am UTC](https://forum.makecode.com/t/enemy-follow-my-sprite-help/39366/2 "2025-09-24T02:52:21Z")

</div>

You want them to move vertically? Up/down, or…

---

<div class="post-metadata">

**Author:** ![cooldude.fncs](https://avatars.discourse-cdn.com/v4/letter/c/b3f665/32.png) [@cooldude.fncs](https://forum.makecode.com/u/cooldude.fncs)\
**Post date:** [September 24, 2025, 5:08pm UTC](https://forum.makecode.com/t/enemy-follow-my-sprite-help/39366/3 "2025-09-24T17:08:53Z")

</div>

try the area in my game and use it

[https://arcade.makecode.com/S76085-12532-12257-57166](https://arcade.makecode.com/S76085-12532-12257-57166)

---

<div class="post-metadata">

**Author:** ![Raccoonux](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@Raccoonux](https://forum.makecode.com/u/Raccoonux)\
**Post date:** [September 24, 2025, 5:13pm UTC](https://forum.makecode.com/t/enemy-follow-my-sprite-help/39366/4 "2025-09-24T17:13:44Z")

</div>

To follow the player horizontally and vertically, but say that the vy is less than the vx so that it is slower on the way down than side to side. I found it hard because you cant control those variables with the |set follow | block

---

<div class="post-metadata">

**Author:** ![Green\_Lizard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/green_lizard/32/33280_2.png) [@Green\_Lizard](https://forum.makecode.com/u/Green_Lizard)\
**Post date:** [September 25, 2025, 12:14am UTC](https://forum.makecode.com/t/enemy-follow-my-sprite-help/39366/5 "2025-09-25T00:14:26Z")

</div>

Ok then.
