There’s an option for choosing a straight line when drawing with your pen mode. Click the small slider icons on the left side of the screen under the color bars. Then, click “drawing mode” You’ll find “line” as a choice. Be sure to click it back to Freehand when you’re done.