Garry's Mod Wiki

Revision Difference

Panel:GetX#550770

<function name="GetX" parent="Panel" type="classfunc"> <description> Returns the X position of the panel relative to its <page>Panel:GetParent</page>. Uses <page>Panel:GetPos</page> internally. </description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <file line="62-L65">lua/includes/extensions/client/panel.lua</file> <added>2021.03.31</added> <rets> <ret name="" type="number">X coordinate.</ret> </rets> </function>