toggleComponent
Toggles the visibility of a UI component.
Syntax
engine.ui.toggleComponent(componentId);
Parameters
Name | Type | Description |
---|---|---|
componentId | UIComponentType | The type of the UI component to toggle |
Example
engine.ui.toggleComponent('chat');
Available on: Client