BaseItem.input.set_item_drag method

set_item_drag(self, target: BaseItem) -> None:

Creates a drag interaction which causes this item to be draggable on the target.

Parameters

  • target: BaseItem

    item to use as drag surface.