Garry's Mod Wiki

Revision Difference

Panel:GWEN_SetPosition#550785

<function name="GWEN_SetPosition" parent="Panel" type="classfunc"> <description><internal></internal> Used by <page>Panel:ApplyGWEN</page> to apply the `Position` property to a panel object. This calls <page>Panel:SetPos</page>.</description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="pos" type="table">A two-membered table containing the x and y coordinates as numbers: * <page>number</page> x - The x coordinate. * <page>number</page> y - The y coordinate.</arg> </args> </function>