Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetCapturingElement(IPanel, int)

Returns the element that is capturing the pointer.
Read time 1 minuteLast updated 6 days ago

Definition

public static IEventHandler GetCapturingElement(this IPanel panel, int pointerId)

Parameters

panel

The panel that holds the element.

pointerId

The captured pointer.

Returns

Type

Description

IEventHandlerThe element that is capturing the pointer.