How do I Make the Dotted Line Go Away in the Selection Tool in Adobe Photoshop?

Making a selection is fundamental to editing an image. Adobe Photoshop provides several tools designed to make selections of varying shapes. After selecting part of an image, an animated black and white line indicates the selection edge. The movement of the selection edge is describes as “marching ants.” This movement may be distracting and make it desirable to hide the selection temporarily or deselect to remove the selection entirely.

...
Edit one part of an image by using a selection.

Hiding Selection Edges

Step

Launch Adobe Photoshop and open a file.

Step

Make a selection using any of the selection tools such as rectangular marquee, lasso or quick selection tool.

Step

Go to "View" > "Show" > "Selection Edges" and click to hide the marching ants. The check mark next to “Selection Edges" disappears. Go back and click “Selection Edges” again to make the selection visible. Another option for hiding selection edges is to hit "Ctrl" + "H," which only hides and shows the selection edges when the option is checked under "View" > "Show" > "Selection Edges."

Deselecting

Step

Open a file in Adobe Photoshop.

Step

Choose a tool and make a selection.

Step

Go to "Select" > "Deselect" or hit "Ctrl" + "D" after you are through using the selection.