Garry's Mod Wiki

Revision Difference

Panel:IsSelected#510930

<function name="IsSelected" parent="Panel" type="classfunc">⤶ <description>Returns if the panel object is selected (like icons in the Spawn Menu, holding <key>Shift</key>). This can be set in Lua using <page>Panel:SetSelected</page>.</description>⤶ <realm>Client</realm>⤶ <rets>⤶ <ret name="" type="boolean">Whether the panel object is selected or not. Always returns false if the object is not selectable. This can be modified using <page>Panel:SetSelectable</page>.</ret>⤶ </rets>⤶ </function>⤶ ⤶