Garry's Mod Wiki

Revision Difference

Panel:DragMousePress#517669

<function name="DragMousePress" parent="Panel" type="classfunc"> <description>Called to inform the <page>dragndrop</page> that a mouse button is being held down on a panel object.</description> <realm>Client</realm> <args> <arg name="mouseCode" type="number">The code for the mouse button pressed, passed by, for example, &lt;page&gt;PANEL:OnMousePressed&lt;/page&gt;. See the &lt;page&gt;MOUSE&lt;/page&gt;.</arg> <arg name="mouseCode" type="number">The code for the mouse button pressed, passed by, for example, <page>PANEL:OnMousePressed</page>. See the <page>MOUSE</page>.</arg> </args> </function>