setProps
Sets the size properties of the UI.
Syntax
engine.ui.setProps(props);
Parameters
Name | Type | Description |
---|---|---|
props | UISizeProps | The size properties to set for the UI |
Example
engine.ui.setProps({
width: '200px',
height: '500px',
right: '20vw',
bottom: '5vh',
});
Available on: Client