UISimpleMenu:Deactivate

From Nomad DB

Deactivates a UISimpleMenu. If the menu is not visible, no action will be taken.

You can use UISimpleMenu:IsActive to check if a menu is visible.

Syntax

menu:Deactivate()

Related Pages