This version of Unity is unsupported.

Input.GetLastPenContactEvent

Declaration

public static PenData GetLastPenContactEvent();

Returns

PenData Pen event details in the struct.

Description

Returns the PenData for the last stored pen up or down event.

PenData.type will be set to PenEventType.Ignore if the event has already been processed by UIToolKit. GetPenEvent should be used to retrieve previous pen events.