Garry's Mod Wiki

Revision Difference

Panel:DragMouseRelease#510518

<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>⤶ </args>⤶ <rets>⤶ <ret name="" type="boolean">`true` if an object was being dragged, otherwise `false`.</ret>⤶ </rets>⤶ </function>⤶ ⤶