blueprint variable to widget

I struggled with the same and solved it like this:

  1. create a.variable of the same type that you want to pass to your widget in the actual widget.

  2. In your Blueprint that contains the variable to be passed, add a) on ‘event play’, b) ‘create widget’ and pick the name of your widget, c) promote it to variable, d) get variable and drag of node and then type in the variable name of your widget’s variable r) set it and use the tobepassed variable as input.

In short, you create the widget again in your BP, make it a variable and through it you can access/set the widget’s variable.

4 Likes