Photoshop

Sample from all visible layers

The default behavior of the Magic Wand, Smudge, Blur, Sharpen, Paint Bucket, Clone Stamp, and Healing Brush tools is to sample color only from pixels on the active layer. This means you can smudge or sample in a single layer.

 To smudge or sample pixels from all visible layers with these tools, select Use All Layers from the options bar.