---
title: "swipeLeft(withVelocity:)"
framework: xcuiautomation
role: symbol
role_heading: Instance Method
path: "xcuiautomation/xcuielement/swipeleft(withvelocity:)"
---

# swipeLeft(withVelocity:)

Sends a swipe-left gesture with a velocity you specify.

## Declaration

```swift
@MainActor @nonobjc @preconcurrency func swipeLeft(withVelocity velocity: XCUIGestureVelocity)
```

## Parameters

- `velocity`: The speed at which to perform the swipe-left gesture, expressed in pixels per second.

## See Also

### Deprecated methods

- [swipeDown(withVelocity:)](xcuiautomation/xcuielement/swipedown(withvelocity:).md)
- [swipeUp(withVelocity:)](xcuiautomation/xcuielement/swipeup(withvelocity:).md)
- [swipeRight(withVelocity:)](xcuiautomation/xcuielement/swiperight(withvelocity:).md)
