connect the sun (directional light) rotation to a slider in a widget

Super easy then.

Create a variable of type *Directional Light Component *in the widget, make it *Instance Editable *and Expose on Spawn. When the BP creates the widget, you’ll see an additional pin on the node named like the variable in the widget. Plug your sun there.