ID:1784576
 
(See the best response by Lummox JR.)
How do I drop an object into a grid using MouseDrop()?
What kinda of grid are we talking about, byond's own grid system own one you've fashioned yourself using objects as the gridslots. I think depending on which, the approach or availability to do what you might be asking exactly differs.
Basically dragging an object from an output into a grid slot.
Best response
In DS this can't be done--not from an output control. The icon, once output, is no longer linked to any kind of object and isn't draggable.

In the webclient this could be done by modifying the output control to include some mouse commands. (This can be grafted on via your own code; you don't have to replace the output control outright.) The atom's icon should have an attribute that says which atom it goes with. The mouse functions in the info and grid controls would be helpful references to see how to initiate a drag/drop.
oh okay. How would I drag an object from a grid to another grid, without removing the old one just creating a copy of it onto the other grid.