Documentation

Unity Engine

Unity Engine

HasPointerCapture(IEventHandler, int)

Tests whether the element has captured the pointer.
Read time 1 minuteLast updated a month 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.