Version: 2020.2
LanguageEnglish
  • C#

PointerCaptureHelper.HasPointerCapture

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

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.