π£ Spawn UI Widgets
Learn how to spawn widgets in WGUI.
Spawning a Widget
To create a widget, use the WGUI.Create function followed by the class you want to spawn.
Adding a Widget to a Panel
There are two ways to add a widget to a panel:
During creation: You can specify the parent panel as the second argument when creating the widget.
Using AddChild function: After creating a widget, you can add it to a panel using the AddChild function of the panel.
Last updated