Link Search Menu Expand Document

Press.Phase

The phases of a button press.

public enum Phase: Int 

Inheritance

Int

Enumeration Cases

began

A physical button was pressed.

case began

changed

A button moved, or the force property changed.

case changed

stationary

A button was pressed but hasn’t moved since the previous event.

case stationary

ended

A button was released.

case ended

cancelled

The system canceled tracking for the button.

case cancelled