Garry's Mod Wiki

Panel:GetX

  number Panel:GetX()

Description

Returns the X position of the panel relative to its Panel:GetParent.

Uses Panel:GetPos internally.

Returns

1 number
X coordinate.