How to use variable from widget to widget?

Hi, i have a custom image button widget, wich contains a boolean variable (instance editable) to switch an image-style in the widget. It also have a preConstruct event, wich updates all.

So if i got this custom button widget in another widget, i got the tab “default” with my variables on the right side.
If i switch the boolean variable to true, the preConstruct event is called and updates the style of the custom button widget - in the editor, but not ingame.

Of course, i could get the button widget > call a custom event directly to update the image-style, but why should i do that, if i got instance editable variables to update something with preConstruct event?

Changing a text works fine in the editor and ingame, but the boolean dont work… why? :face_with_spiral_eyes:

Solved. I was using a function in preConstruct event and it need to check “call in editor”. Now it works.