How do I take a variable from one blueprint and use it in another? For instance, taking an integer that was created in an actor’s script and using it in a widget’s script? Noob Question, I know.
You have two choices, both valid, all depends on how your workflow happens.
-
Have a reference to the created widget in the actor that is going to pass the variable forward
-
Have a reference to the actor inside the widget that will be using its variable.