How to make a line exactly horizontal or vertical


I have a line with is e.g. diagonal on the canvas.
In the inspector I can’t see an angle to set to 0 or 90 or 180 to make the line horizontal or vertical.
How can I do this

Thanks Mik

Hold down the shift key when creating the line or dragging an endpoint around. That forces the line to be horizontal, vertical, or at a 45-degree angle. (Holding down shift while moving any object constrains the move to be horizontal or vertical.)

There’s a control wheel in the Geometry inspector for setting the angular orientation of objects. Holding down shift while moving it steps the angle in 15-degree increments.