---
title: animations
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsanimatablepropertycontainer/animations
---

# animations

Sets the option dictionary that maps event trigger keys to animation objects.

## Declaration

```swift
var animations: [NSAnimatablePropertyKey : Any] { get set }
```

## Parameters

- `dict`: A dictionary containing the event trigger keys and associated animation objects.

## See Also

### Related Documentation

- [animator()](appkit/nsanimatablepropertycontainer/animator().md)
- [NSAnimatablePropertyContainer](appkit/nsanimatablepropertycontainer.md)

### Managing Animations for Properties

- [animation(forKey:)](appkit/nsanimatablepropertycontainer/animation(forkey:).md)
- [defaultAnimation(forKey:)](appkit/nsanimatablepropertycontainer/defaultanimation(forkey:).md)
- [NSAnimatablePropertyKey](appkit/nsanimatablepropertykey.md)
