How to Control the opacity in specific area of umg?

I need to give a mask on screen and leave two or more area still show like this. Is there any reuseable way to set specific area’s opacity of image(or other umg)?

Retainer Box + Instanced Dynamic Material would allow you to drive it run-time.

Oh, I misread that badly, no Retainer needed if it’s just for 2d:

Turn those constants into parameters to drive it dynamically through a dynamic material instance.