Back to API Reference
Enum

PointerKind

Physical device class behind a pointer event. Resolved once by UniTextBase (new Input System pointer type when available, legacy pointerId convention otherwise) — consumers must use this instead of re-deriving touchness from pointer ids.

public static readonly PointerKind Mouse = 0
public static readonly PointerKind Touch = 1
public static readonly PointerKind Pen = 2