---
title: SpatialEventCollection.Event
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/spatialeventcollection/event
---

# SpatialEventCollection.Event

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

## Declaration

```swift
struct Event
```

## Overview

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

- [timestamp](swiftui/spatialeventcollection/event/timestamp.md)
- [id](swiftui/spatialeventcollection/event/id-swift.property.md)
- [SpatialEventCollection.Event.ID](swiftui/spatialeventcollection/event/id-swift.struct.md)
- [kind](swiftui/spatialeventcollection/event/kind-swift.property.md)
- [SpatialEventCollection.Event.Kind](swiftui/spatialeventcollection/event/kind-swift.enum.md)
- [modifierKeys](swiftui/spatialeventcollection/event/modifierkeys.md)

### Locating the event

- [location](swiftui/spatialeventcollection/event/location.md)
- [location3D](swiftui/spatialeventcollection/event/location3d.md)
- [selectionRay](swiftui/spatialeventcollection/event/selectionray.md)
- [inputDevicePose](swiftui/spatialeventcollection/event/inputdevicepose-swift.property.md)
- [SpatialEventCollection.Event.InputDevicePose](swiftui/spatialeventcollection/event/inputdevicepose-swift.struct.md)
- [targetedEntity](swiftui/spatialeventcollection/event/targetedentity.md)

### Getting the event’s current phase

- [phase](swiftui/spatialeventcollection/event/phase-swift.property.md)
- [SpatialEventCollection.Event.Phase](swiftui/spatialeventcollection/event/phase-swift.enum.md)

### Instance Properties

- [chirality](swiftui/spatialeventcollection/event/chirality.md)
- [trackingAreaIdentifier](swiftui/spatialeventcollection/event/trackingareaidentifier.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Identifiable](swift/identifiable.md)

## See Also

### Accessing the collection’s events

- [subscript(_:)](swiftui/spatialeventcollection/subscript(_:).md)
