Garry's Mod Wiki

Revision Difference

Panel:MoveToAfter#510949

<function name="MoveToAfter" parent="Panel" type="classfunc">⤶ <description>Moves this panel object in front of the specified sibling (child of the same parent) in the render order, and shuffles up the Z-positions of siblings now behind.</description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="siblingPanel" type="Panel">The panel to move this one in front of. 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>⤶ ⤶