ReferenceInput

mouse1click

Queues a press and release of the left mouse button.

Syntax

mouse1click() -> ()

Also available as

mouse_1_click

Description

Input is delivered to the current game instance, not to the desktop pointer. This does not move the pointer; position it separately when the test requires a particular target. An unavailable or full input queue raises an error.

Example

mouse1click()

These are Game executor contracts. Check build requirements and session lifetimes before using them.