Garry's Mod Wiki

Revision Difference

DDragBase:MakeDroppable#518137

<function name="MakeDroppable" parent="DDragBase" type="panelfunc"> <ispanel>yes</ispanel> <description>Makes the panel a receiver for any droppable panel with the same DnD name. Internally calls <page>Panel:Receiver</page>.</description> <realm>Client</realm> <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 &lt;key&gt;Ctrl&lt;/key&gt; key is held down.</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>