How do you pass a variable from widget to blueprint?

Hey,

In my project I have a Widget where the user can input a numeric value. I’ve got as far as storing this value inside a varible in the widget blueprint.

I now need to pass this variable to an actor blueprint in the project. What is the best way to do this?

I’ve tried casting as well as creating a variable which is a reference to the HUD, but neither of them seem to work. I’ve just not been able to get the value to be passed across from the widget to the blueprint. Is someone able to guide me?

Thanks in advance,

Did you SpawnActorFromClass or did you place the actor in the LevelBlueprint manually?

Thanks @everynone, I’ve asked this question with a bit more detail here: