Skip to main content
Performs a touch action at a specific point on the screen. This is a low-level touch event. For interacting with elements, prefer tap. Example: touch(target: { x: 100, y: 200 }) Returns true if the touch action was successful.

Definition

Arguments

target

PointOptions! The target coordinates (x, y) for the touch action.

Returns

Boolean! The Boolean scalar type represents true or false.