Garry's Mod Wiki

dragndrop.GetDroppable

  table dragndrop.GetDroppable( string name = "nil" )

Description

Returns a table of currently dragged panels.

Arguments

1 string name = "nil"
If set, the function will return only the panels with this Panel:Droppable name.

Returns

1 table
A table of all panels that are being currently dragged, if any.