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

PointerCaptureHelper.HasPointerCapture

Declaration

public static bool HasPointerCapture(UIElements.IEventHandler handler, int pointerId);

Parameters

handler The VisualElement being tested.
pointerId The captured pointer.

Returns

bool True if element captured the pointer.

Description

Tests whether the element has captured the pointer.