Panel/IsSelected

From Garry's Mod
Jump to: navigation, search
 Panel:IsSelected( )

Description

Returns if the panel object is selected (like icons in the Spawn Menu, holding ⇧ Shift). This can be set in Lua using Panel:SetSelected.

Returns

boolean

Whether the panel object is selected or not. Always returns false if the object is not selectable. This can be modified using Panel:SetSelectable.
Personal tools
Navigation