Godot how to grow the change of day and night?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By roma

Godot how to grow the change of day and night? I wrote some kind of vicorist code:

$WorldEnvironment.environment.background_sky.sky_top_color = Color8(0,0,0)

To change the color. Ale veiled so that if the sky is black, it is bright. Is it possible to need a card of light here (how is it so, how should it be done in the code)?