Garry's Mod Wiki

Revision Difference

Panel:SetSelected#550905

<function name="SetSelected" parent="Panel" type="classfunc"> <description>Sets the selected state of a selectable panel object. This functionality is set with <page>Panel:SetSelectable</page> and checked with <page>Panel:IsSelectable</page>.</description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="selected" type="boolean" default="false">Whether the object should be selected or deselected. <page>Panel:IsSelected</page> can be used to determine the selected state of the object.</arg> </args> </function>