Garry's Mod Wiki

Garry's Mod Wiki

  table Panel:Droppable( string name )

Description

Makes this panel droppable. This is used with Panel:Receiver to create drag and drop events.

Can be called multiple times with different names allowing to be dropped onto different receivers.

Arguments

1 string name
Name of your droppable panel

Returns

1 table
Blank table stored on the panel itself under pnl.m_DragSlot[ name ]. Is reset every time this function is called and does not appear to be used or exposed anywhere else.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...