---
title: playsAudioOnly
framework: corehaptics
role: symbol
role_heading: Instance Property
path: corehaptics/chhapticengine/playsaudioonly
---

# playsAudioOnly

A Boolean value that indicates whether the engine ignores haptic events and plays audio events only.

## Declaration

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

## Discussion

Discussion If you set a new value on a running engine, you must restart the engine for the change to take effect. The default value is false.

## See Also

### Modifying Playback Properties

- [playsHapticsOnly](corehaptics/chhapticengine/playshapticsonly.md)
- [isMutedForAudio](corehaptics/chhapticengine/ismutedforaudio.md)
- [isMutedForHaptics](corehaptics/chhapticengine/ismutedforhaptics.md)
