How to draw a rectangle

Select the rectangle tool from the tool bar. Click the left mouse button where you want the first corner of the rectangle. Without releasing the button, drag the mouse to the point where you want the opposite corner of the rectangle.

How to draw a square

To draw a square using the rectangle tool, hold down the shift key while dragging the mouse.