Garry's Mod Wiki

DMenuBar:GetOpenMenu

  Panel DMenuBar:GetOpenMenu()

Description

If a menu is visible/opened, then the menu is returned.

Returns

1 Panel
Returns the visible/open menu or nil.