How to lock mouse to a widget component?

Hi, I have multiple widget components on screen at the same time, some closer to the first person player than others.

But only one at a time is supposed to be “active”. The problem is, when the mouse is hovering over some other widget component in the background, that widget reacts to the mouse.

How do I lock (clamp) the mouse within a widget component’s space? It feels like it should be a simple solution, I just can’t find the nodes for it.

Thanks.

Can you set the “inactive” widgets to be non hit testable in the visibility settings?