How to make a sprite move up and down while following another

how can I make a sprite follow another sprite in only the Y value if there is a way?

3 Likes

If sprite A Y value > Sprite B
Set Sprite A VY 40

something like that could work

1 Like

here is a example

1 Like

image
This might work, don’t mind the errors, you just need to have the assets already made

That would not work

this worked, thanks so much!