Press the space bar to draw a square. Change the length using the slider. Press 'z' to move to a new spot. Press 'c' to change the pen color