PenData Pen event details in the struct.
Returns the PenData for the last stored pen up or down event.
Note: This API is part of the legacy Input Manager. The recommended best practice is that you don't use this API in new projects. For new projects, use the Input System package. To learn more about input, refer to Input.
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.