Give your pet something to eat.
Click to choose a new sprite:
Then, select a food:
To tell your pet when the food sprite is clicked, go to Events, and drag in a when sprite clicked block. Then, snap on a broadcast block. Choose 'new message' from the menu and type in 'food.'
Now, whenever you click on the food sprite, it will send a message to your pet.
Tip: Add the go to front block to place your food sprite in front of the pet.