Eat Some Food

Decide what your pet will do when it receives the 'food' message.

Go to the Events category and drag out a when I receive block.

To make your pet glide toward the food, click on the Motion category. Use the glide block to tell your pet where you want it to go.

Tip: You can type in an x and y position. Or drag your pet to where you want it to go, and the x and y within glide (in the blocks palette) will automatically update.

Add another glide block at the end of the script to make your pet go back to its original position.

Next, give your pet something to play with