---
title: shouldPlayHaptics
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/objectcapturesession/shouldplayhaptics
---

# shouldPlayHaptics

Enables/disables haptics on devices that support it.

## Declaration

```swift
@MainActor var shouldPlayHaptics: Bool { get set }
```
