Widget Types
Widget Types
Widgets are UI elements that you can add or remove in the UI.
Widgets are UI elements that you can add or remove in the UI.
The following sections describe all the widgets you can use to create your custom UI in Verse.
Canvas
A canvas is a container widget. You can position other widgets within the canvas using canvas slots to design your UI. When a canvas widget is at the top of the UI hierarchy, it represents the whole screen.
You can nest a canvas widget within another canvas widget, but the root canvas widget is the only one that will encompass the entire screen.
For examples on how to create a canvas widget and how to position widgets on the screen, see Positioning Widgets on the Screen.
Button
There are three kinds of button widgets you can add to your UI. The difference between each button is only cosmetic.
| UI | Verse Code |
|---|---|
| Button_Loud Verse UI Element | ``` |
| Button_Regular Verse UI Element | ``` |
| Button_Quiet Verse UI Element | ``` |
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.