BaseItem.input.set_item_drag method
Creates a drag interaction which causes this item
to be draggable on the target
.
Parameters
-
target: BaseItem
item to use as drag surface.
-
callback: Callable[[], None]
function to call when the drag interaction ends.