TouchInputEvent
- class Communicator.Event.TouchInputEvent()
Methods
getButtons
getDate
- TouchInputEvent.getDate()
Gets the Date this event occurred
- Return type
Date
- Returns
the event Date
getEventType
- TouchInputEvent.getEventType()
gets the event type
- Return type
- Returns
the type of touch event
getHandled
- TouchInputEvent.getHandled()
Gets the handled state of the event
- Return type
boolean
- Returns
whether the event has been handled
getId
- TouchInputEvent.getId()
gets the id this event
- Return type
number
- Returns
the unique identifier for this touch
getPosition
setHandled
- TouchInputEvent.setHandled(handled)
Sets the handled state of the event. When an event has been handled it will not propagate any further
- Arguments
handled (
boolean()
) – Indicates whether this event has been handled.
- Return type
void