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

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

Tap the running emulator’s screen, on touch-capable boards. Coordinates are screen pixels; the display size is read from the emulated `pebble-touch` device and scaled automatically. A tap is a finger down then up.

```
pbl touch 130 130
```

Injection goes through the QMP socket [pbl qemu](https://developer.repebble.com/pebbleos/docs/pbl/qemu.md) opens, on the absolute-pointer input path; multi-touch is not wired up in the device. See [pbl swipe](https://developer.repebble.com/pebbleos/docs/pbl/swipe.md) for drags.

## Options

```
pbl touch [-h] [-b DIR] [--dry-run] x y
```

`x`

x coordinate in screen pixels

`y`

y coordinate in screen pixels

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