Hello, I have come to my wits end trying to figure out a solution to my problem. I want to draw a straight line with the pen tool. Whenever I draw my line and I click on a different layer, the line disappears. I can't change the color of the line, it's the same color of blue as the anchor points, which leads me to believe that something in the settings is leading to my demise. The line is on top of all the other layers, so that cannot be the issue. My pen tool can create a line, but it can't create a line that exists! The line keeps disappearing and isn't editable, so can someone please help me out? I'm begging you.
You are creating shape layer and when you draw the straight line with pen by default stroke value of pen tool/shape layer is set to none. So you need to click on the stoke option in the tools panel to have sold color. You can also edit the path by expanding the shape layer and select shape 1/path.
You can have a look at following video for more details (this video have no audio) - pen tool stoke - YouTube
I hope this information helps you work with pen tool straight lines.
Did vishuagg19's suggestion help at all?
Let us know if you need further assistance!