---
title: "<code class=\"docutils literal notranslate\"><span class=\"pre\">pbl</span> <span class=\"pre\">swipe</span></code>"
canonical_url: https://developer.repebble.com/pebbleos/docs/pbl/swipe/
last_updated: 2026-10-21
sdk_version: 4.33.1
---
# <code class="docutils literal notranslate"><span class="pre">pbl</span> <span class="pre">swipe</span></code>

Source: https://developer.repebble.com/pebbleos/docs/pbl/swipe/

Swipe across the running emulator’s screen, on touch-capable boards. The finger moves from the first point to the second through intermediate steps, so drag gestures are seen as continuous.

```
pbl swipe 130 220 130 40# swipe uppbl swipe 130 220 130 40 --steps 20 --duration 0.4
```

## Options

```
pbl swipe [-h] [-b DIR] [--dry-run] [--steps STEPS] [--duration DURATION]
          x1 y1 x2 y2
```

`x1`

start x in screen pixels

`y1`

start y in screen pixels

`x2`

end x in screen pixels

`y2`

end y in screen pixels

`--steps STEPS`

number of move steps

`--duration DURATION`

total duration in seconds

Generated from PebbleOS [3a7b71785](https://github.com/coredevices/pebbleos/commit/3a7b71785fd439666c4a8bc116f561140e8dec01). This page is maintained in the pebbleos repository: [docs/pbl/swipe.md](https://github.com/coredevices/pebbleos/blob/3a7b71785fd439666c4a8bc116f561140e8dec01/docs/pbl/swipe.md).
