Continuously moving a sprite up and down with

I'm trying to make a virtual pet, and one of the things I want you to be able to do is to pet it but I have no idea how to do that. I know that I need to make a sprite move up and down but not how to make it move up and down

That's called dragging.

Use the When Sprite Dragged event, and have the Sprite.X and .Y track the drag X and Y

A simple example:

petSprite.aia (2.2 KB)

1 Like

Thank you for the help