map ui widget with horror engine

so im very new to unreal engine, and im trying to make a map ui using the existing horror engine blueprint, and i’ve managed to create it, but is struggling to hide it, i’ve watched some tutorials but nothing helps!

i think the current problem is that the Map UI variable is stored locally in a function, so when called the second time, the is valid function runs the “is not valid” option which leads to nothing, because the map ui is now not valid! any solutions?


Don’t make it a local variable then, it’d serve no purpose here.


Also, it seems a tad over-engineered, perhaps you could simplify it to: