UMG, how to change time of day (sun position) with a slider?

Well done! You’ve created a class of widget btw.

So now take a look at the BP you’re trying to reach. It’s the Sky_Sphere BP and sits in the level. The C++ class that has the level’s functions etc is the levelscriptactor. Follow this tutorial to reparent your level with your own custom levelscriptactor;