a bit of research in the api solved it…
new method in api is .baseitem.input.setItemDrag(target)
example
const cube1 = Scene.getItem(“osnFcMzD”) as BaseItem;
const floor = Scene.getItem(“jDKx2uRr”) as Cuboid;
cube1.input.setItemDrag(floor);
here is an example