---
title: HMCharacteristicTypeMotionDetected
framework: homekit
role: symbol
role_heading: Global Variable
path: homekit/hmcharacteristictypemotiondetected
---

# HMCharacteristicTypeMotionDetected

An indicator of whether the accessory has detected motion.

## Declaration

```swift
let HMCharacteristicTypeMotionDetected: String
```

## Discussion

Discussion The corresponding value is a Boolean and is true when motion has been detected.

## See Also

### Locks and openers

- [HMCharacteristicTypeLockManagementAutoSecureTimeout](homekit/hmcharacteristictypelockmanagementautosecuretimeout.md)
- [HMCharacteristicTypeLockManagementControlPoint](homekit/hmcharacteristictypelockmanagementcontrolpoint.md)
- [HMCharacteristicTypeLockMechanismLastKnownAction](homekit/hmcharacteristictypelockmechanismlastknownaction.md)
- [HMCharacteristicTypeLockPhysicalControls](homekit/hmcharacteristictypelockphysicalcontrols.md)
- [HMCharacteristicTypeCurrentLockMechanismState](homekit/hmcharacteristictypecurrentlockmechanismstate.md)
- [HMCharacteristicTypeTargetLockMechanismState](homekit/hmcharacteristictypetargetlockmechanismstate.md)
- [HMCharacteristicTypeRemoteKey](homekit/hmcharacteristictyperemotekey.md)
