Garry's Mod Wiki

Panel:GetChildPosition

number, number Panel:GetChildPosition( Panel pnl )

Description

Gets a child object's position relative to this panel object. The number of levels is not relevant; the child may have many parents between itself and the object on which the method is called.

Arguments

1 Panel pnl
The panel to get the position of.

Returns

1 number
The horizontal (x) position of the child relative to this panel object.
2 number
The vertical (y) position of the child relative to this panel object.

Page Links


Special Pages


Wikis

?

Render Time: 33ms

DB GetPage 4
Generate Html 4
SaveChanges (1) 10
Render Body 0
Render Sidebar 12