How do i get a sprite to stop following the player?

Im trying to make a sprite, start and stop following the player. But im not sure how to make it stop once it starts. Please help!
Thank you!

1 Like

I believe you can do something like this:

Which will stop myEnemy from following anything.

thank you!

1 Like