Atomic docs

imgui.Checkbox

imgui.Checkbox(label: string, value: boolean): (boolean, boolean)

A checkbox. Returns whether it changed and the value to keep.

Example

lua
local changed
changed, enabled = imgui.Checkbox("enabled", enabled)
↑