Garry's Mod Wiki

Revision Difference

Panel:MoveToBefore#510947

<function name="MoveToBefore" parent="Panel" type="classfunc">⤶ <description>Moves this panel object behind the specified sibling (child of the same parent) in the render order, and shuffles up the <page>Panel:SetZPos</page> of siblings now in front.</description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="siblingPanel" type="Panel">The panel to move this one behind. Must be a child of the same parent panel.</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="boolean">`false` if the passed panel is not a sibling, otherwise `nil`.</ret>⤶ </rets>⤶ </function>⤶ ⤶