This version of Unity is unsupported.

PointerCaptureHelper.GetCapturingElement

public static UIElements.IEventHandler GetCapturingElement(UIElements.IPanel panel, int pointerId);

Parameters

panel The panel that holds the element.
pointerId The captured pointer.

Returns

IEventHandler The element that is capturing the pointer.

Description

Returns the element that is capturing the pointer.