activities
latest
false
UiPath logo, featuring letters U and I in white

UI Automation activities

Last updated Feb 19, 2026

DirectionalSwipe

Perform a swipe operation with the following pre-defined directions: Down, Up, Left, Right.

Definition

Namespace: UiPath.MobileAutomation.API.Models

Assembly: UiPath.MobileAutomation.API (in UiPath.MobileAutomation.API.dll)

DirectionalSwipe(SwipeDirection, short, float)

Perform a swipe operation with the following pre-defined directions: Down, Up, Left, Right.

DirectionalSwipe(
    SwipeDirection swipeDirection,
    [short swipeSize],
    [float waitTime])
DirectionalSwipe(
    SwipeDirection swipeDirection,
    [short swipeSize],
    [float waitTime])

swipeDirection SwipeDirection : The direction of the swipe action. You access this parameter using the SwipeDirection enumeration. The available swipe directions are the following:

* `SwipeDirection.Down`
* `SwipeDirection.Up`
* `SwipeDirection.Left`
* `SwipeDirection.Right`
* `SwipeDirection.Down`
* `SwipeDirection.Up`
* `SwipeDirection.Left`
* `SwipeDirection.Right`

swipeSize Short (Optional) : The length of the swipe action, which is a percent of the screen size. The swipe of the size can be between 0 and 100.

waitTime Float (Optional) : The time, in seconds, that the API pauses during transitions between points.

  • Definition
  • DirectionalSwipe(SwipeDirection, short, float)

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2026 UiPath. All rights reserved.