Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


HasPointerCapture(IEventHandler, int)

Tests whether the element has captured the pointer.
Read time 1 minuteLast updated 7 days ago

Definition

public static bool HasPointerCapture(this IEventHandler handler, int pointerId)

Parameters

The VisualElement being tested.

pointerId

The captured pointer.

Returns

Type

Description

boolTrue if element captured the pointer.