# Toggle

```lua
Window:Toggle(Text, Enabled, Callback, Disable)
```

```lua
Window:Toggle(<table>)
```

* [Parameters](https://uis.gitbook.io/turtle-library/api-reference/toggle/parameters)
* [Methods](https://uis.gitbook.io/turtle-library/api-reference/toggle/parameters/methods)
* [Example](https://uis.gitbook.io/turtle-library/api-reference/toggle/example)
