Garry's Mod Wiki

Revision Difference

Panel:GetSelectionCanvas#560871

<function name="GetSelectionCanvas" parent="Panel" type="classfunc"> <file line="116-L131">lua/includes/extensions/client/panel/selections.lua</file>⤶ <description>Returns the panel object (`self`) if it has been enabled as a selection canvas. This is achieved using <page>Panel:SetSelectionCanvas</page>.</description> <realm>Client and Menu</realm> <rets> <ret name="" type="Panel">The panel object this method was called on if enabled as a selection canvas, otherwise `nil`.</ret> </rets> </function>