How to access public bool?

Hi,

I’m a little stuck and could use some help. My goal is to have a door, and once it opens I want to make a book visible. I created a boolean in my VRPawn. I went and set the boolean after the door opens. Then I created My book blueprint and used the get boolean in a branch, but somehow it doesn’t turn true after my door opens. What am I missing?



Second image you are setting the bool on a target, but the target is going to be invalid. That blue pin is connected to a node system which is not executed when your interaction event executes. The only way a value is going to be set is if the grey execution pins are connected to such a node.

1 Like

that makes sense. What can I use as a target to set my bool with then?

Well you could send the character “Target” as a parameter of the Event Interact. That way the door receives a target when you interact. The rest of the logic would be the same, just check if the Target is valid using an IsValid node when you want to use it.