Garry's Mod Wiki

Panel:DragMouseRelease

  boolean Panel:DragMouseRelease( number mouseCode )

Description

Called to inform the dragndrop that a mouse button has been depressed on a panel object.

Arguments

1 number mouseCode
The code for the mouse button pressed, passed by, for example, PANEL:OnMouseReleased. See the MOUSE enum.

Returns

1 boolean
true if an object was being dragged, otherwise false.