You can create pixel selections based on layers (or layer groups) or layer luminance.
If the layer or layer group contains areas which have an opacity lower than 100%, these are partially selected. This partial selection is based on the percentage of their opacity (i.e. areas of 20% opacity will be selected by 20%). Transparent areas will not be included in the selection.
Do one of the following: