---
title: playsHapticsOnly
framework: corehaptics
role: symbol
role_heading: Instance Property
path: corehaptics/chhapticengine/playshapticsonly
---

# playsHapticsOnly

A Boolean value that indicates whether the engine ignores audio events.

## Declaration

```swift
var playsHapticsOnly: Bool { get set }
```

## Discussion

Discussion Setting this property to true causes the engine to ignore all audio events, such as audioContinuous and audioCustom. This also reduces latency of starting haptic playback. important: Changing the value of this property on a running engine has no effect until you stop and restart the engine.

## See Also

### Modifying Playback Properties

- [playsAudioOnly](corehaptics/chhapticengine/playsaudioonly.md)
- [isMutedForAudio](corehaptics/chhapticengine/ismutedforaudio.md)
- [isMutedForHaptics](corehaptics/chhapticengine/ismutedforhaptics.md)
