Garry's Mod Wiki

Revision Difference

Panel:SetSelectionCanvas#547286

<function name="SetSelectionCanvas" parent="Panel" type="classfunc"> <description>Enables the panel object for selection (much like the spawn menu).</description> <realm>Client</realm> <args> <arg name="selCanvas" type="any">Any value other than `nil` or `false` will enable the panel object for selection. It is recommended to pass `true`.</arg> <arg name="set" type="boolean">Whether to enable selection.</arg> </args> </function>