Garry's Mod Wiki

Revision Difference

Panel:DragMouseRelease#550717

<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>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="mouseCode" type="number">The code for the mouse button pressed, passed by, for example, <page>PANEL:OnMouseReleased</page>. See the <page>Enums/MOUSE</page>.</arg> </args> <rets> <ret name="" type="boolean">`true` if an object was being dragged, otherwise `false`.</ret> </rets> </function>