Click and hold the red square.
Now, move it so that you neither touch the walls nor get hit by any of the blue blocks.