---
title: HKUserMotionContext.active
framework: healthkit
role: symbol
role_heading: Case
path: healthkit/hkusermotioncontext/active
---

# HKUserMotionContext.active

The person was active during the sample.

## Declaration

```swift
case active
```

## See Also

### Motion contexts

- [HKUserMotionContext.notSet](healthkit/hkusermotioncontext/notset.md)
- [HKUserMotionContext.stationary](healthkit/hkusermotioncontext/stationary.md)
