---
title: CHHapticAudioResourceKeyLoopEnabled
framework: corehaptics
role: symbol
role_heading: Global Variable
path: corehaptics/chhapticaudioresourcekeyloopenabled
---

# CHHapticAudioResourceKeyLoopEnabled

A key for a Boolean value that indicates whether to loop audio playback.

## Declaration

```swift
let CHHapticAudioResourceKeyLoopEnabled: String
```

## Discussion

Discussion Set a true value for this key to loop the contents of an audio file. The default value is false.

## See Also

### Audio Resource Keys

- [CHHapticAudioResourceKeyUseVolumeEnvelope](corehaptics/chhapticaudioresourcekeyusevolumeenvelope.md)
- [CHHapticAudioResourceKey](corehaptics/chhapticaudioresourcekey.md)
