Entity actions
Create simple, reusable actions that can change your app state, RealityKit scene, or animate an entity.
Overview
Entity actions provide an easy way to change or animate parts of your scene, while also allowing you to influence the changes with your app state.
For example, you can vary the size of an impulse you apply to an entity with ImpulseAction, play a sound at the end of an entity’s animation with PlayAudioAction, or create a custom action that changes your app state.