Skip to main content
Version: 22.4.1

Touchscreen.touchStart() method

Dispatches a touchstart event.

Signature:

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

Parameters

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

Returns:

Promise<void>