<!--
{
  "availability" : [
    "iOS: 3.2.0 -",
    "iPadOS: 3.2.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIGestureRecognizer/isEnabled",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIGestureRecognizer(py)enabled"
  },
  "title" : "isEnabled"
}
-->

# isEnabled

A Boolean property that indicates whether the gesture recognizer is enabled.

```
var isEnabled: Bool { get set }
```

## Discussion

Disables a gesture recognizers so it does not receive touches. The default value is <doc://com.apple.documentation/documentation/Swift/true>. If you change this property to <doc://com.apple.documentation/documentation/Swift/false> while a gesture recognizer is currently recognizing a gesture, the gesture recognizer transitions to a cancelled state.

---

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)