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

**URL:** <https://forums.unrealengine.com/t/umg-how-to-change-time-of-day-sun-position-with-a-slider/298722>\
**Category:** UI\
**Tags:** slider, unreal-engine, Blueprint, question, UMG\
**Created:** [November 11, 2014, 9:46am UTC](https://forums.unrealengine.com/t/umg-how-to-change-time-of-day-sun-position-with-a-slider/298722 "2014-11-11T09:46:10Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![robbiecooper](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@robbiecooper](https://forums.unrealengine.com/u/robbiecooper)\
**Post date:** [November 12, 2014, 7:33am UTC](https://forums.unrealengine.com/t/umg-how-to-change-time-of-day-sun-position-with-a-slider/298722/5 "2014-11-12T07:33:49Z")

</div>

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;

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

---

_[View the full topic](https://forums.unrealengine.com/t/umg-how-to-change-time-of-day-sun-position-with-a-slider/298722)._
