Giving overlays transparency

Yes, I know that, but I do not want the whole overlay to be transparent, I need portions of the picture before I upload it to be transparent.