Assign 3D Widget Editable Variable

Hello !

I have a blueprint with a 3D widget on it. I need to connect to this widget a bunch of other blueprints (buttons in my first screenshot) to check if they are hover for example. I can not (correct me if I’m wrong) assign a editable variable directly from my scene to my widget. My blueprint don’t show me my widget editable variables.


So I created in the blueprint containing my widget the same editable variables


And set them in the 3D widget with a event begin play.


It looks to me not very clean. (And I have to do it manually).Is there a best way to do that ? Connect my blueprint directly to my widget in my blueprint without manually set them and have duplicated variables ?

Thank you !

Hello Again,

I finally decided to create an interface with an input and output to provide the button I wanted to my widget from the Blueprint parent. I added a switch string to select the good one to call depending on the output :slight_smile: No need to copy variable anymore.

I think that it’s more elegant.