Trying to set widget visibility from other widget

So I’ve got this problem where I’m trying to call a function from my inventory widget blueprint. The function I’m trying to call is in a notifications widget blueprint.

When I set the text and print the text box content, it says the text is there, in the box that the text is supposed to be in. But then I print the text box’s visibility (true/false) it always returns false even though I set it to be visible. It works perfectly when called from the level blueprint, but not from inventory and other widget blueprints. Haven’t tried normal blueprints though. I can’t figure this one out, it’s been a problem for a while now

Fixed it. I was setting the text field’s visibility, changed it so it removes/adds from viewport and it works now.