PointerCaptureHelper

class in UnityEngine.UIElements

Switch to Manual

Description

A static class to capture and release pointers.

Static Functions

CapturePointerCaptures the pointer.
GetCapturingElementReturns the element that is capturing the pointer.
HasPointerCaptureTests whether the element has captured the pointer.
ReleasePointerTests whether an element captured a pointer and, if so, tells the element to release the pointer.