Creating and Removing Widgets
Creating and Removing Widgets
The following sections show how to add a widget to a players UI and remove a widget.
The following sections show how to add a widget to a player’s UI and remove a widget.
The following sections show how to add a widget to a player’s UI and remove a widget.
These examples use a text block widget, but you can use any kind of widget. See Widget Types for all the types of widgets you can use.
Adding a Widget
This example shows how to add a widget when a player interacts with a Button device in the level:
- Create a new Verse device and add it to the level. To learn how to create a new device in Verse, see Create Your Own Device Using Verse.
- Open your Verse file in Visual Studio Code with Verse Explorer.
- Add an editable Button device property to your Verse device and set up the reference to the Button device in your level. To learn how to create editable properties, see Customize Device Properties.
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.