---
title: direction
framework: watchkit
role: symbol
role_heading: Instance Property
path: watchkit/wkswipegesturerecognizer/direction
---

# direction

The permitted directions of the swipe.

## Declaration

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

## Discussion

Discussion The default value of this property is right. You may specify more than one direction to track swipes in multiple directions with the same gesture recognizer.
