Garry's Mod Wiki

Panel:GetX

number Panel:GetX()

Just Added

This was just added in the latest version (2021.03.31). It might only be available on the Dev Branch right now.

Description

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

Uses Panel:GetPos internally.

Returns

1 number
X coordinate.

Page Links


Special Pages


Wikis

?

Render Time: 55ms

DB GetPage 35
Generate Html 3
SaveChanges (1) 9
Render Body 0
Render Sidebar 6