Updating Widget Components Inside the Editor - Guide

Have tested it and yes it does work! For anyone interested here is the universal setup which should work with any components and actors:

  1. I made an actor component with an event “Start delayed construction” which makes after an delay an interface call back to the parent “Return Delay”. (I tested it with component event dispatcher but they don’t seem to work inside the editor.)

  2. Inside the actor I call on construct “Start delayed construction”

  3. Now I add the Interface and add the construction logic which doesn’t work usually. In this example getting component transforms and setting the length of an arrow component.

Result:
It will print the correct transform


and will change the arrow length
UnrealEditor_131

Its actually kinda sad how easy the fix is :sweat_smile:

Disclaimer: Keep in mind that there is probably a reason delay doesn’t work inside the construction script. But in my experience I didn’t encounter any problems, if you encounter any feel free to share.

3 Likes