configuration table to CreateWindow and the window persists state for you. Every value element saves unless you set forgetState = true, and each value restores as its original type.
Rayfield/Configurations/[customFolder/]<fileName>.rfld. Loading applies each value through its element, so callbacks fire and the config actually takes effect. It is not just the visuals moving.
You can also save and load by hand.
Reading and writing values
Reach any saved value by its flag, without holding on to the element handle.Multiple configurations
Pass a name to keep several configurations and switch between them. Named configurations live beside the default file in the same folder.When saving is enabled, the settings tab gains a Configurations section so players can save, load, overwrite, and delete configurations with no extra code.