Contents

SpatialEventCollection.Event

A spatial event generated from an input like a touch or click that can drive gestures in the system.

Declaration

struct Event

Overview

You receive a collection of these events in the form of a SpatialEventCollection that’s the input to the onChanged(_:) or onEnded(_:) method of a SpatialEventGesture. Inspect individual events to track interactions that enable you to create complex, multi-touch experiences in your app.

Topics

Identifying the event

Locating the event

Getting the event’s current phase

Instance Properties

See Also

Accessing the collection’s events