Set Visibility of Mesh Using Casting

Hey everybody.
I am having a problem here, and I cannot seem to wrap my head around it.
I have 2 actors. The 1st actor is a box and the 2nd is a sign. In my 1st actor, the box, I have a Boolean variable called “Show?” I am trying to make it so that if the Boolean is false, show the sign. I’m trying to achieve this using casting but with no luck. I am attaching screenshots, thanks in advance.

Edit: fixed some mistakes

How exactly does your system work? From what I see it’s not working because it’s only checking that boolean when it loads into the level the first time.

Hi man ,you are using wrong some stuff.

Here 2 actor
The NewBlueprint have a cube. and on every frame he search for all MYactors, get the first, and read HIS Boolean.
Then set his visibility at same as the boolean of the MYactor.

The MYactor is a empty blurtint, with just the boolean MY VAR , i enabled the input for the player 0 so i can hit W and glip the variable.

Istantly the Newblueprint will read that change and will upload to his visibility.

I’m planning on making the BP show and hide that mesh on a random occurrence. For now, the boolean is false, and that should hide the mesh at start, kind of like a test to see if it will work beforehand.

I will try this, thanks!

Thank you, it works!

Thanks for your interest in this little problem of mine! Much appreciated :slight_smile: