Sprite follow othersprite but in the opposite direction

20260806-0436-36.9371087

Here depending on which magnet I click on, that’s where it’s following.
But here:

20260806-0438-41.7339474

I kind of want it to rebel the direction, but as you can see, something is off with the rebel.
Can someone help with just making it so that it just goes the reverse direction of where the mouse is clicking, kind of like the top image, but in reverse. Thank you.

1 Like

You can do something like this:

2 Likes

You could use the angle blocks in the sprite utils extension to make the character move the negative of the angle from it to the object.

2 Likes

Can’t you just set the follow speed to be negative?

2 Likes

But that would kind of be velocity, right?

1 Like

No, that won’t work. That was my first thought. What I am showing above is me using the following block.

2 Likes

It would be, but if you set it every frame it should account for a change in direction

1 Like

I tried that and it worked, thank you so much.

1 Like