---
title: hangDuration
framework: metrickit
role: symbol
role_heading: Instance Property
path: metrickit/mxhangdiagnostic/hangduration
---

# hangDuration

The amount of time the app is busy and unable to respond to user interaction.

## Declaration

```swift
var hangDuration: Measurement<UnitDuration> { get }
```
