Skip to main content
Version: next

showTouches

  • Type: boolean
  • Default value: false

Shows visual feedback for touches on the device screen.

When enabled, the device will display visual indicators (usually circles) at the location of each touch, making it easier to see where touch inputs are being registered. Useful for presentations or demonstrations.

info

The visual feedback only shows real fingers touching the physical screen, not simulated touches sent through the touch control messages (inject touch functionality). Touches simulated via scrcpy control messages will not appear as visual indicators on the device screen, even when showTouches is enabled.

  • stayAwake: Prevents the device from sleeping while screen casting is active

Example

import { ScrcpyOptions1_15 } from "@yume-chan/scrcpy";

const options = new ScrcpyOptions1_15({
showTouches: true, // Show visual touch feedback
});