setDragImage

fun setDragImage(image: Element, x: Int, y: Int)(source)

Uses the given element to update the drag feedback, replacing any previously specified feedback.

MDN Reference