You can access the brush settings from the Brush palette / panel. Choose: Window > Brushes.
brush settings to create dotted lines, and paint inside a
A layer mask is used to hide portions of a layer and reveal portions of whatever layer is below it. You can modify the mask by using the brush tool and painting in either black or white.