The Undo Brush Tool can be used to selectively undo modifications to individual pixels, restoring them to a previous history state or a saved snapshot.
After setting a brush source, you can blend the image's current state back to a previous state, like painting backwards in time.
Settings
The following settings can be adjusted from the context toolbar:
Width—the brush (stroke) size in pixels. Type directly in the text box or drag the pop-up slider to set the value.
Opacity—how see through the brush is. Type directly in the text box or drag the pop-up slider to set the value.
Flow—how fast the brush effect is applied (1% is very slow, 100% is immediate). Type directly in the text box or drag the pop-up slider to set the value.
Hardness—how hard the edges of the brush are. The brush appears softer as the percentage decreases. Type directly in the text box or drag the pop-up slider to set the value.
More—click to display the Brushes dialog to access advanced brush settings.
Force pressure to control size—Click to control brush size with pressure if using a pressure-sensitive device. This overrides brush defaults.
Blend Mode—changes how the applied pixels interact with existing pixels on a layer. Select from the pop-up menu.
Blend—when selected (default), pixels which do not overlap those in the selected history or snapshot state are unaffected, allowing the blending of the current document state with the selected, previous state. If this option is off, all pixels are returned to the previous state when painted.
Protect Alpha—When checked, you won't be able to paint on the current layer if it has transparent regions.
To paint from history or a saved snapshot:
Display the History or Snapshot panel.
Click the Undo Brush Source camera icon on the history state or snapshot you want to paint back to.