Move the mouse close to scratch cat and he will go away from it. If he gets stuck in a corner press space to reset him.
I've reversed the roles of cat and mouse. It's like herding cats.