<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreHaptics",
  "identifier" : "/documentation/CoreHaptics/CHHapticPattern/Key/eventWaveformLoopEnabled",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Core Haptics",
      "CoreHaptics"
    ],
    "preciseIdentifier" : "c:@CHHapticPatternKeyEventWaveformLoopEnabled"
  },
  "title" : "eventWaveformLoopEnabled"
}
-->

# eventWaveformLoopEnabled

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

```
static let eventWaveformLoopEnabled: CHHapticPattern.Key
```

## Discussion

Set a value of <doc://com.apple.documentation/documentation/Swift/true> to indicate that events of type [`audioCustom`](/documentation/CoreHaptics/CHHapticEvent/EventType/audioCustom) should loop playback.

The default value is <doc://com.apple.documentation/documentation/Swift/false>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)