Back to API Reference
Enum
PointerTrigger
What initiated a TextPointerEvent. Lets handlers behave differently for tap-style versus context-menu-style triggers without inspecting the underlying Unity event.
public static readonly PointerTrigger PrimaryClick = 0Primary button press (left mouse button, single tap on touch).
public static readonly PointerTrigger SecondaryClick = 1Secondary button press (right mouse button). Context-menu intent on desktop.
public static readonly PointerTrigger LongPress = 2Pointer held in place past the long-press threshold. Context-menu intent on touch / pen.
public static readonly PointerTrigger Hover = 3Hover movement without a press (PointerEntered/PointerExited).
public static readonly PointerTrigger Keyboard = 4Keyboard-driven request (e.g. Shift+F10, Application key). Reserved; not yet emitted.
