setPointerCapture

fun setPointerCapture(pointerId: Int)(source)

The setPointerCapture() method of the Element interface is used to designate a specific element as the capture target of future pointer events.

MDN Reference