<!--
{
  "availability" : [
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WatchKit",
  "identifier" : "/documentation/WatchKit/WKSwipeGestureRecognizer/direction",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "WatchKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKSwipeGestureRecognizer(py)direction"
  },
  "title" : "direction"
}
-->

# direction

The permitted directions of the swipe.

```
var direction: WKSwipeGestureRecognizerDirection { get set }
```

## Discussion

The default value of this property is [`right`](/documentation/WatchKit/WKSwipeGestureRecognizerDirection/right). You may specify more than one direction to track swipes in multiple directions with the same gesture recognizer.

---

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)