You need to lure the mouse into the red square in the middle (It appears after a few seconds). You control the cat's speed with the W key and it points towards your mouse pointer. You can't go through the blocks, but the mouse can go under them.
Made for Digital Technology Studies at school. You need to make sure no part of your cat (paws, tail, etc.) is touching the blocks to be able to move again.