How to make a Variable in a Blueprint Accessible in other Blueprint

I’m trying to get it to activate when a button is pressed. I’m using input events to activate it.