<!--
{
  "availability" : [
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WatchKit",
  "identifier" : "/documentation/WatchKit/WKInterfaceDevice/play(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "WatchKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKInterfaceDevice(im)playHaptic:"
  },
  "title" : "play(_:)"
}
-->

# play(_:)

Gives haptic feedback to the user.

```
func play(_ type: WKHapticType)
```

## Parameters

`type`

The type of haptic feedback to play. Always use the defined haptic types for their intended purposes. For a list of possible values, see [`WKHapticType`](/documentation/WatchKit/WKHapticType).

## Discussion

Use this method to engage the haptic engine in Apple Watch. The type of feedback you specify defines the specific feedback that is delivered.

This method has no effect when called while your shared [`WKExtension`](/documentation/WatchKit/WKExtension) object’s [`applicationState`](/documentation/WatchKit/WKExtension/applicationState) property is either [`WKApplicationState.background`](/documentation/WatchKit/WKApplicationState/background) or [`WKApplicationState.inactive`](/documentation/WatchKit/WKApplicationState/inactive). By default, you cannot play haptic feedback in the background. The only exception are apps with an active workout session. For more information, see <doc://com.apple.documentation/documentation/HealthKit/running-workout-sessions> in <doc://com.apple.documentation/documentation/HealthKit/HKWorkoutSession>.

Do not call this method multiple times in quick succession. If the haptic engine is already engaged when you call this method, the system stops the current feedback and imposes a minimum delay of 100 milliseconds before engaging the engine to generate the new feedback. Use of the haptic engine also consumes power, and using the engine too much may create a noticeable drain on the Apple Watch battery, as well as a negative user experience.

> Important:
> Do not call this method while gathering heart rate data using HealthKit. When you engage the haptic engine, HealthKit stops gathering heart rate data until after the haptic engine finishes.

---

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)