User Manual - Erase To Edge Tool
Erases from the current layer, up to the edge of the template layer.
Open an image.
Select the layer to erase.
Change the brush size (hold down the command key and drag).
Erase the image.
The current color is erased up to the edge of the template layer.