How to prevent OnMouseOver events when input is disabled?

Hi all,
at a certain point in this game I need to prevent user interaction while the inner logic completes some of its functions.

I tried to do this by disabling mouse input and cursor, but the problem is that certain items have a highlight feature with OnMouseOverBegin/End, and it still works when the input is disabled.

Does anyone know how to prevent this?
Thanks in advance.

PS: The highlight works by setting/unsetting Custom Render Depth (postprocess volume blendable material)

Meh… just found node “Enable Mouse Over Events”.
I’ll leave it for posterity.
Bye