<!--
{
  "documentType" : "article",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/ecs-events",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Events"
}
-->

# Events

Respond to things happening in your RealityKit scene by subscribing to specific event types.

## Overview

You can receive notifications to specific RealityKit events
— all of which conform to the Event protocol —
by subscribing to specific events.
The kinds of events you can subscribe to include the following:

- Two entities colliding
- An entity receiving a new component
- Audio playback reaching the end of its content

For example, you can receive a notification:

- When two objects begin colliding by subscribing to [`CollisionEvents.Began`](/documentation/RealityKit/CollisionEvents/Began) event
- When the scene redraws by subscribing to the [`SceneEvents.Update`](/documentation/RealityKit/SceneEvents/Update) event

## Topics

### Core event types

[`protocol Event`](/documentation/RealityKit/Event)

A type that can be sent as an event.

[`protocol EventSource`](/documentation/RealityKit/EventSource)

A type on which events can be published and subscribed.

[`struct EventSubscription`](/documentation/RealityKit/EventSubscription)

A subscription to an event.

### Scene and entity lifecycle events

[`enum SceneEvents`](/documentation/RealityKit/SceneEvents)

Events the scene invokes.

[`enum AnchorStateEvents`](/documentation/RealityKit/AnchorStateEvents)

Events that trigger on an entity to indicate a change in anchor state.

[`enum ComponentEvents`](/documentation/RealityKit/ComponentEvents)

Provides the events related to components.

### Input and interaction events

[`enum AccessibilityEvents`](/documentation/RealityKit/AccessibilityEvents)

[`enum ManipulationEvents`](/documentation/RealityKit/ManipulationEvents)

Events that occur while a person manipulates an entity.

### Physics and motion events

[`enum AnimationEvents`](/documentation/RealityKit/AnimationEvents)

Notable milestones that the framework signals during animation playback.

[`enum CollisionEvents`](/documentation/RealityKit/CollisionEvents)

[`enum PhysicsSimulationEvents`](/documentation/RealityKit/PhysicsSimulationEvents)

Types of events that fire during physics simulations

### Media events

[`enum AudioEvents`](/documentation/RealityKit/AudioEvents)

Events associated with audio playback.

[`enum VideoPlayerEvents`](/documentation/RealityKit/VideoPlayerEvents)

Events associated with video playback for VideoPlayerComponent.

[`enum ImagePresentationEvents`](/documentation/RealityKit/ImagePresentationEvents)

Events associated with viewing mode transitions for image presentation components.

### Network synchronization events

[`enum SynchronizationEvents`](/documentation/RealityKit/SynchronizationEvents)

Events associated with network synchronization of scene information.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)