TouchInputEvent
-
class
Event.TouchInputEvent()
Accessors
Methods
-
Event.TouchInputEvent.getButtons() - getButtons():
Buttonsgets the mouse buttons currently pressed with this event
Returns:
Buttonsthe mouse buttons currently pressed for this event
-
Event.TouchInputEvent.getDate() inherited
getDate(): DateGets the Date this event occurred
Returns: Date
the event Date
-
Event.TouchInputEvent.getEventType() - getEventType():
TouchInputTypegets the event type
Returns:
TouchInputTypethe type of touch event
-
Event.TouchInputEvent.getHandled() inherited
getHandled(): booleanGets the handled state of the event
Returns: boolean
whether the event has been handled
-
Event.TouchInputEvent.getId() - getId(): number
gets the id this event
Returns: number
the unique identifier for this touch
-
Event.TouchInputEvent.getPosition() - getPosition():
Point2gets the window position of the mouse pointer for this event
Returns:
Point2the mouse position for this event
-
Event.TouchInputEvent.setHandled() inherited
setHandled(handled: boolean): voidSets the handled state of the event. When an event has been handled it will not propagate any further
Parameters
handled: boolean
Indicates whether this event has been handled.Returns: void