TouchState
The TouchState
enum represents the various states of a touch event in the game.
Definition
enum TouchState {
Started = 'started',
Moved = 'moved',
Ended = 'ended',
Cancelled = 'cancelled',
}
Enum Values
Started
: The touch event has started.Moved
: The touch event is moving.Ended
: The touch event has ended.Cancelled
: The touch event has been cancelled.