Linked line segments

you know how in the polygon tool you get to create linked lines, it eventually links the very first point or “end” of one line to the last point or the last end of the last line. I don’t want THIS LAST STEP. i want to create a bunch of lines linked together, with the least clicks possible (exactly how the polygon lets me do it) but without it closing the figure. how can i do that. it might not be the polygon tool.

Thanks

I think you mean the segmented line tool which can be selected in the toolbar menu (right click on the line tool to open the context menu), see:

https://imagej.net/docs/guide/146-19.html#toc-Subsection-19.2