The cat will try to get as close as possible to the mouse pointer, but stay within the box.
If you find any bugs, please notify me! small note: made the scratch cat not tweak when on the mouse pointer, and added a debug by pressing d. There is an odd phenomenon when the cat has debug mode on, and snaps to the cursor. It says a scientific notation e-11 through 13 value for one frame. Floating point causes this.