Background shifting pictures for day and night

I used the example in Switch an image or layout if day or night (or by time) | Kustom HQ to crate a widget with changing background (day/night).
OverlapLayer → $if(ai(isday), 100, 0)$ → $if(ai(isday), 0, 100)$
The OverlapLayer is placed in the middle of the widget in foreground.
It was clear that it couldn’t work as a background but I didn’t know how to achieve the same functionality for the background.
Any ideas?


Try to move the overlap layer that contains your images to the top of the of the list of elements to make it a background.

It worked. Thank y very much :kissing_closed_eyes: