Engine API Reference - v2.23.0-beta.21
    Preparing search index...

    Class ElementTouchEvent

    Represents a TouchEvent fired on a ElementComponent. It carries the browser's own TouchEvent and Touch objects.

    Hierarchy (View Summary)

    Index

    The CameraComponent that this event was originally raised via.

    changedTouches: TouchList

    The Touch objects representing individual points of contact whose states changed between the previous touch event and this one.

    The ElementComponent that this event was originally raised on.

    event: MouseEvent | TouchEvent | XRInputSourceEvent | null

    The browser event that was originally raised: a MouseEvent, TouchEvent or XRInputSourceEvent. It is null when no browser event caused this one, as for selectmove.

    touch: Touch

    The browser Touch that triggered the event. Match a touch across events by its identifier.

    touches: TouchList

    The Touch objects representing all current points of contact with the surface, regardless of target or changed status.