Version: 2023.1
public PenStatus penStatus ;

描述

Specifies the state of the pen. For example, whether the pen is in contact with the screen or tablet, whether the pen is inverted, and whether buttons are pressed.

On macOS, penStatus will not reflect changes to button mappings.