You can erase from any area of a pixel layer using the Erase Brush Tool. Erased pixels become transparent. If the brush is used on a vector object or layer, a mask is automatically created and the erasing will be performed non-destructively.
The following settings can be adjusted using a vertical tool slider:
The following settings can be adjusted from the context toolbar: