Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

PointerCaptureHelper.GetCapturingElement

Declaration

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.