If true, the event is able to trigger. If false, the event will not trigger.
Binds a callback function to this event.
Returns the SceneObject this Event is associated with.
Returns the ID of this specific touch. Useful for distinguishing between touches when multiple are occurring simultaneously.
Returns the normalized 2D screen position of the users touch. The normalized coordinates range from ([0-1], [0-1]), (0,0) being top-left and (1,1) being bottom-right.
Returns the typename of the SceneEvent.
Indicates if the TouchEnd event was cancelled by another UI component or the touch-up event occurred too far away from touch-down event's position.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
Triggered when a touch event ends.
Example