Garry's Mod Wiki


  Panel:SetSelectable( boolean selectable )


Sets whether the panel object can be selected or not (like icons in the Spawn Menu, holding ⇧ shift). If enabled, this will affect the function of a DButton whilst ⇧ shift is pressed. Panel:SetSelected can be used to select/deselect the object.


1 boolean selectable
Whether the panel object should be selectable or not.