event Drag picks up the item with the given ID, as if you had started dragging it with the mouse. The item
then hangs on the cursor until you drop it, for example with click and p.
- The item has to be known to the client: on screen, or in an open container.
- Nothing happens while you are already holding something.
To drop through the server instead, pick the item up with exevent Drag, not
event Drag: mixing event Drag with the exevent Drop… commands can leave a ghost item on the cursor.
The command calls a function inside the client. On a client version where that function’s address is not known, it does nothing.
Example
Section titled “Example”finditem DWJ_EWJ_GWJ_TVJ C_ , #BackpackID ; oreset %ore #FindIDevent Drag %orewait 20click 100 100 phaltSee also
Based on the EasyUO wiki, edited for EasyUO Reforged. This text is available under the GNU Free Documentation License 1.2.