Garry's Mod Wiki

Panel:PaintAt

  Panel:PaintAt( number posX, number posY )

Description

Paints a ghost copy of the panel at the given position.

This function sets Z pos of panel's children (PANEL:SetZPos). It also briefly unparents and reparents the panel.

Arguments

1 number posX
The x coordinate to draw the panel from.
2 number posY
The y coordinate to draw the panel from.