---
title: HMCharacteristicTypeHoldPosition
framework: homekit
role: symbol
role_heading: Global Variable
path: homekit/hmcharacteristictypeholdposition
---

# HMCharacteristicTypeHoldPosition

A control for holding the position of an accessory like a door or window.

## Declaration

```swift
let HMCharacteristicTypeHoldPosition: String
```

## Discussion

Discussion The corresponding value is a write-only Boolean. Write a value of true to indicate that the current position should be maintained. The accessory ignores a written value of false. Write a value to the HMCharacteristicTypeTargetPosition characteristic to release the hold.

## See Also

### Doors and windows

- [HMCharacteristicTypeCurrentDoorState](homekit/hmcharacteristictypecurrentdoorstate.md)
- [HMCharacteristicTypeTargetDoorState](homekit/hmcharacteristictypetargetdoorstate.md)
- [HMCharacteristicTypeCurrentPosition](homekit/hmcharacteristictypecurrentposition.md)
- [HMCharacteristicTypeTargetPosition](homekit/hmcharacteristictypetargetposition.md)
- [HMCharacteristicTypePositionState](homekit/hmcharacteristictypepositionstate.md)
- [HMCharacteristicTypeStatusJammed](homekit/hmcharacteristictypestatusjammed.md)
- [HMCharacteristicTypeSlatType](homekit/hmcharacteristictypeslattype.md)
- [HMCharacteristicTypeCurrentSlatState](homekit/hmcharacteristictypecurrentslatstate.md)
