Not that easy...
What you could do:
- turn off the dragging in the games properties and in the command you used for dragging
- in the setting for the mouse properties, add an action for "left mouse button hold (button pressed)" with an execute script action.
add this script inside the action:
if not game.CurrentObject:isEmpty() and game.CurrentObject.IsItem then -- check if there is an object beneath the cursor and this object is an item
game.UsedItem = game.CurrentObject -- set this item as used
game.UsedItemPicked = true -- set this item as dragged so it will appear as cursor
end
- add an action for the "left mouse button hold (button released) and add the actions like in the image.
- Set the holding time to your liking (the default 600 ms might be a bit long).
this might do what you want...
As action for using the item on an object, use the "drop item" action type, like when using the build-in drag&drop.