Documentation

Unity Engine

Download Unity

Unity Engine

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.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.InputLegacyModule
public PenStatus penStatus

Remarks

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