--- title: Toggle Switch hide_title: true --- # Toggle Switch A UI component containing a simple toggle switch. You can use it as you would a **Checkbox** UI element.
![](/library/prefabs/toggle/toggle.png)
Here is an example of how it is connected to a variable, just like how you would connect a **Checkbox**.
![](/library/prefabs/toggle/toggle-nodes.png)