<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DockKit",
  "identifier" : "/documentation/DockKit/DockAccessory/Animation",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "DockKit"
    ],
    "preciseIdentifier" : "s:7DockKit0A9AccessoryC9AnimationO"
  },
  "title" : "DockAccessory.Animation"
}
-->

# DockAccessory.Animation

Character animations that describe how to move the dock accessory.

```
enum Animation
```

## Overview

Each animation executes on a predefined trajectory. See [`animate(motion:)`](/documentation/DockKit/DockAccessory/animate(motion:)) for more information.

## Topics

### Enumeration Cases

[`case kapow`](/documentation/DockKit/DockAccessory/Animation/kapow)

The dock accessory performs a quick tilt and snaps back with some oscillation.

[`case no`](/documentation/DockKit/DockAccessory/Animation/no)

The dock accessory traces a horizontal head shake.

[`case wakeup`](/documentation/DockKit/DockAccessory/Animation/wakeup)

The dock accessory moves upwards towards center.

[`case yes`](/documentation/DockKit/DockAccessory/Animation/yes)

The dock accessory traces a vertical head nod.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

---

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)