Revision Difference
DDragBase:MakeDroppable#562375
<function name="MakeDroppable" parent="DDragBase" type="panelfunc">
<description>Makes the panel a receiver for any droppable panel with the same DnD name. Internally calls <page>Panel:Receiver</page>.
See <page>Drag and Drop for VGUI</page>.
</description>
<realm>Client and Menu</realm>
<file line="34-L44">lua/vgui/ddragbase.lua</file>⤶
<args>
<arg name="name" type="string">The unique name for the receiver slot. Only droppable panels with the same DnD name as this can be dropped on the panel.</arg>
<arg name="allowCopy" type="boolean">Whether or not to allow droppable panels to be copied when the <key>Ctrl</key> key is held down.</arg>
</args>
</function>