Part of the interactions project from the Scratch ED team. Press the arrow keys to move the cat. When the cat gets near to the dog it runs away from it.