how does set_initial_value(name: String , value: Variant ) work?

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

Can some pls give an example of how this is used
I have a variable which value changes but i only want the initial value it outputs

:bust_in_silhouette: Reply From: yrtv

It’s two of them.

In EditorSettings

In ProjectSettings

Both set value for revert buttons in their window (Editor Settings or Project Settings)

Revert button is circle button (like refresh in most browsers) here https://docs.godotengine.org/en/stable/_images/instancing_property.png