import Close from './Close.png';
import Undo from './Undo.png';

1. Choose the desired [line type](/en/manual/scripts/Draw/Line/doc/Line#type) in the options toolbar.
2. Specify the start point of the first line segment. You can use the mouse or enter a coordinate in the console.
3. Specify the endpoint of the first line segment.
4. Specify the endpoints of additional line segments. Click the "Close" button in the options tool bar to close the sequence:
   <Image src={Close} alt="Close" width={40} height={40} />  
   If you need to undo a single line segment, you can do so by clicking the "Undo" button:
   <Image src={Undo} alt="Undo" width={40} height={40} />
5. You can set the length or angle of the line to fixed values using the appropriate inputs in the options toolbar.
