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

U can make an actor (ASun) containing the light component and the widget component, where in the Tick method u can read the value from the widget component and update your light component