# events

> Animation Events for this animation clip.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.AnimationModule

```csharp
public AnimationEvent[] events { get; set; }
```

### Remarks

Modified events will only persist until play mode is exited or the player is quit. If you want to add an event to a clip persistently, use [AnimationUtility.SetAnimationEvents](/engine/6000.5/script-reference/unityeditor/animationutility/setanimationevents.md) from the Unity editor.

Additional Resources: [AnimationUtility](/engine/6000.5/script-reference/unityeditor/animationutility.md) classes.
