Garry's Mod Wiki

Revision Difference

Panel:GetX#529475

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