> 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/buttons.md).

# Buttons

## Button Creation

```luau
local Button = Tab1:Button("Test Button", "Click this button", function()
    print("Button clicked!")
end)
```

first arg is title and second one is description

### Updating Buttons

```luau
Button:UpdateButton(newtitle, newdesc, function()
    print("button has updated!")
end)
```
