Garry's Mod Wiki

Garry's Mod Wiki

  boolean Panel:MoveToAfter( Panel siblingPanel )

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.

Arguments

1 Panel siblingPanel
The panel to move this one in front of. Must be a child of the same parent panel.

Returns

1 boolean
false if the passed panel is not a sibling, otherwise nil.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...