1. Open the PS software on your computer, and then select "New" in the menu bar "File" to create a new canvas, the size of which can be customized as required.
2. Then find the "Line Tool" option in the toolbar on the left side of the software interface, and click it.
3. Then use the left mouse button to click the drop-down triangle icon marked in the red wireframe in the figure.
4. Then select the desired dotted line style in the drop-down box that appears. If you are not satisfied with the style, you can click "More Options" to customize the dotted line style.
5. After completing the above settings, you can draw a dotted line in the PS software.