Enemy Following Sprite - Help

Hi guys,

Does anyone know, if an enemy is following the main sprite, how to make the enemy turn right when the sprite passes them on the right side and how to make the enemy turn left when the sprite passes them on the left side? Any help is much appreciated!

Thanks ~

Here:

this topic I think has the info you need!

Let me know if you have any questions!

1 Like

Wow. This really helped! The code worked and now my game’s back on track. Thanks so much @Kiwiphoenix364!

1 Like