How do I make it so another sprite runs in the oppisite direction of the player

im trying to make a project where the other sprite runs away from the player when the flag is clicked but i have been trying to make it happen and it is just not working.

can anyone help me with this?

One technique is for the other sprite to point towards the player sprite

Then turn 180 degrees so it's facing away from it

then move

thanks, that helps alot, I just incorperated it into my project, so thanks!

I have a block here:Snap! 6.9.2 Build Your Own Blocks

you can just do
untitled script pic (17)
or
untitled script pic (49)

thank all of you guys so much!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.