<!--
{
  "availability" : [
    "iOS: 14.0.0 - 27.0.0",
    "iPadOS: 14.0.0 - 27.0.0",
    "macCatalyst: 14.0.0 - 27.0.0",
    "macOS: 11.0.0 - 27.0.0",
    "visionOS: 1.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "MetricKit",
  "identifier" : "/documentation/MetricKit/MXAnimationMetric",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "MetricKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MXAnimationMetric"
  },
  "title" : "MXAnimationMetric"
}
-->

# MXAnimationMetric

An object representing metrics about the responsiveness of animation in the app.

```
class MXAnimationMetric
```

## Topics

### Reading the ratio of scrolling hitch time

[`scrollHitchTimeRatio`](/documentation/MetricKit/MXAnimationMetric/scrollHitchTimeRatio)

The ratio of the time spent hitching while scrolling.

### Reading the ratio of hitch time

[`hitchTimeRatio`](/documentation/MetricKit/MXAnimationMetric/hitchTimeRatio)

The ratio of time spent hitching during tracked animations.

## Relationships

### Conforms To

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

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

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

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

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

[`NSCoding`](/documentation/Foundation/NSCoding)

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

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

### Inherits From

[`MXMetric`](/documentation/MetricKit/MXMetric)

---

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)