Panel/MoveToBefore

From Garry's Mod
Jump to: navigation, search
 Panel:MoveToBefore( )

Description

Moves this panel object behind the specified sibling (child of the same parent) in the render order, and shuffles up the Panel:SetZPos of siblings now in front.

Arguments

Panel siblingPanel

The panel to move this one behind. Must be a child of the same parent panel.

Returns

boolean

false if the passed panel is not a sibling, otherwise nil.
Personal tools
Navigation