Whenever the cat sprite gets near the dog sprite, the dog turns and runs from the cat. Press the green flag to see.