Get variable exposed in widget blueprint?

Is there any way to access the widget blueprint’s variables when attached to a widget component via blueprint scripting?

If not, are there any ways for an actor to create a widget component and assign it a widget blueprint? I could get around this issue if I could set variables in the blueprint before I added it to a widget component… But so far I haven’t found a valid work-around besides creating everything in the level blueprint – which isn’t viable at all.

Thanks in advance.

Do you mean the new experiment 3D widget? If yes, you can use get userwidgetobject, cast it and do whatever you want with it.

1 Like

I did mean the 3D widget, and your solution works great! Somewhat vague, but it works! Thanks.