First, select the Eraser tool from the Tools panel. Then, click and drag over the area you want to erase. To constrain the erasing to a straight line, press and hold the Shift key as you click and drag. To erase a corner point, hold down the Alt (Windows) or Option (Mac OS) key, click the point, and drag to the new location.