soggy.Documentation Back to Soggy ↗

ui.set_visible

Sets the visibility of the menu item

ui.set_visible(item: number, visible: boolean)

Arguments

NameDescriptionType
itemA menu item reference.number
visibleBoolean. Pass false to hide the control from the menu, or nil to return the previous visibility state.boolean

Type to search guides, functions and events.