Copy link to clipboard
how to switch from a plain line to a discontinued line
I am not sure what you mean by discontinued line. An open instead of a closed path?
You can use the Scissors tool to cut a path.
A dashed line?
Show options in the Stroke panel and set up the dashes.