Skip to main content
Version: 20.9.0

Touchscreen.touchStart() method

Dispatches a touchstart event.

Signature:

class Touchscreen {
touchStart(x: number, y: number): Promise<void>;
}

Parameters

ParameterTypeDescription
xnumberHorizontal position of the tap.
ynumberVertical position of the tap.

Returns:

Promise<void>