<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameController",
  "identifier" : "/documentation/GameController/GCStylus/haptics",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Game Controller"
    ],
    "preciseIdentifier" : "c:objc(cs)GCStylus(py)haptics"
  },
  "title" : "haptics"
}
-->

# haptics

Gets the haptics profile for the stylus, if supported.

```
var haptics: GCDeviceHaptics? { get }
```

## Discussion

The haptics profile is represented as a `GCDeviceHaptics` instance, from
which you can create `CHHapticEngine` instances targeting the haptic
actuator(s) in the accessory.

Not all stylus accessories support haptic feedback.  If the accessory
does not support haptic feedback, this property is `nil`.

\note Haptics are a drain on the accessory’s battery, and can be distracting when
used excessively. Use haptic feedback judiciously and in response to
meaningful user interactions.

---

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)