I cant hide widgets, UE 5.0.3

I have a function to toggle widgets between visible and hidden

If the widget start visible, it toggles between visible and a “whiter mode”
If the widget start hidden, it toggles between the “whiter mode” and hidden

(“whiter mode”)

(what should be)

I also try to reduce the render opacity but nothing happens

Can somebody help me?