Garry's Mod Wiki

Panel:SetPopupStayAtBack

  Panel:SetPopupStayAtBack( boolean stayAtBack )

Description

If this panel object has been made a popup with Panel:MakePopup, this method will prevent it from drawing in front of other panels when it receives input focus.

Arguments

1 boolean stayAtBack
If true, the popup panel will not draw in front of others when it gets focus, for example when it is clicked.