Garry's Mod Wiki

Panel:GetChildPosition

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: 31ms

Session 0
DB GetPage 4
Generate Html 6
SaveChanges 8
Render Body 0
Render Sidebar 12