Skip to main content

Load the library

Add one line at the top of your script to pull in Rayfield Gen2.

Build a window

A window is the entry point. Create one, add a tab, and fill it with elements.
The first visible tab opens on its own, so there is nothing else to wire up.

Turn on saving

Pass a configuration table and the window remembers every value between sessions. Nothing else is required, and each value restores as its original type.

How saving works

Flags, multiple configurations, and reading values back out.

Next steps

Windows

Titles, tags, themes, and every window method.

Tabs and groups

Organise a tab into sections, columns, and grids.

Elements

Every control you can drop into a tab.

Secure mode

Ship a build with nothing to fingerprint.