Garry's Mod Wiki

Revision Difference

Panel:ToggleSelection#550945

<function name="ToggleSelection" parent="Panel" type="classfunc"> <description>Toggles the selected state of a selectable panel object. This functionality is set with <page>Panel:SetSelectable</page> and checked with <page>Panel:IsSelectable</page>. To check whether the object is selected or not, <page>Panel:IsSelected</page> is used.</description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ </function>