> For the complete documentation index, see [llms.txt](https://hawklib.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hawklib.gitbook.io/docs/elements/window/tabs/checkboxes.md).

# CheckBoxes

## CheckBox Creation

```luau
local MyCheckBox = Tab3:CheckBox("Show/Hide", false, function(value)
    print("CheckBox state:", value)
end)
```

first arg is title

second arg is first state of checkbox

### Updating CheckBoxes

```luau
MyCheckBox:UpdateCheckBox(true) --same as toggle
```
