SketchUp Rectangle Tool: Locking a rectangle to the current inference direction

SketchUp Rectangle Tool: Locking a rectangle to the current inference direction
Locking a rectangle to the current inference direction

Press and hold the Shift key, while the rectangle you are drawing is the specific color of an axis, to lock drawing operation to that axis.