- Controls created with
ui.*orgui.*save their values by themselves inscripts\<name>.valuesand get them back on the next load. - Give a control an id (
{id = "radius", label = "Radius"}) to keep its value when you rename the label. - For anything else use
database.read/database.write(ordatabase.load/database.savefor a whole table). Values must be JSON-serializable; save a color as{c.r, c.g, c.b, c.a}.
Utilities
Saving settings
Keep control values and your own data between sessions.