ui.set_enabled
Sets the enabled state of the menu item
ui.set_enabled(item: number, enabled: boolean)
Arguments
Name | Description | Type |
---|---|---|
item | A menu item reference. | number |
enabled | Boolean. Pass false to lock the control from value alteration. | boolean |
Sets the enabled state of the menu item
ui.set_enabled(item: number, enabled: boolean)
Name | Description | Type |
---|---|---|
item | A menu item reference. | number |
enabled | Boolean. Pass false to lock the control from value alteration. | boolean |