Using the Auto Erase optionThe Auto Erase option for the pencil tool lets you paint with the background color if your stroke begins in an area that contains the foreground color. To use the Auto Erase option:
If you begin dragging over areas in your image that contain the foreground color, the pencil tool paints with the background color. If you begin dragging from an area that doesn't contain the foreground color, the tool paints with the foreground color. |