<!--
{
  "availability" : [
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WatchKit",
  "identifier" : "/documentation/WatchKit/WKSwipeGestureRecognizerDirection",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "WatchKit"
    ],
    "preciseIdentifier" : "c:@E@WKSwipeGestureRecognizerDirection"
  },
  "title" : "WKSwipeGestureRecognizerDirection"
}
-->

# WKSwipeGestureRecognizerDirection

Constants indicating the direction of a swipe.

```
struct WKSwipeGestureRecognizerDirection
```

## Topics

### Constants

[`right`](/documentation/WatchKit/WKSwipeGestureRecognizerDirection/right)

The touch moves from left to right. This direction is the default.

[`left`](/documentation/WatchKit/WKSwipeGestureRecognizerDirection/left)

The touch moves from right to left.

[`up`](/documentation/WatchKit/WKSwipeGestureRecognizerDirection/up)

The touch moves upward.

[`down`](/documentation/WatchKit/WKSwipeGestureRecognizerDirection/down)

The touch moves downward.

### Initializers

[`init(rawValue:)`](/documentation/WatchKit/WKSwipeGestureRecognizerDirection/init(rawValue:))

Returns a new direction constant based on the provided raw value.



---

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)