Garry's Mod Wiki

Revision Difference

Panel:DragMouseRelease#517668

<function name="DragMouseRelease" parent="Panel" type="classfunc"> <description>Called to inform the <page>dragndrop</page> that a mouse button has been depressed 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:OnMouseReleased&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:OnMouseReleased</page>. See the <page>MOUSE</page>.</arg> </args> <rets> <ret name="" type="boolean">`true` if an object was being dragged, otherwise `false`.</ret> </rets> </function>