Put the layer you want as a matte (usually a shape or text) right below the layer you want to reveal, then link them with the Track Matte control. Show only the bright parts and it's a luma matte; cut by transparency and it's an alpha matte.
Animate the matte layer and the revealed area moves with it — that's what "track" refers to. Unlike a one-time static clip-path, the matte itself becomes part of the choreography.
Mismatched frame rates or resolutions between the matte and the fill layer leave messy edges. Always do a render test before exporting.
When to use
Keep the matte shape above the fill layer in stacking order, and leave both layers on Normal blend mode.