Skip to content

MouseClickArguments

Structure Class

MouseClickArguments dataclass

Bases: _SerdeShape

Arguments for a mouse click action.

Attributes

button class-attribute instance-attribute
button: str | None = ...

The mouse button to use. Defaults to LEFT.

click_count class-attribute instance-attribute
click_count: int | None = ...

The number of clicks to perform. Valid range: 1--10. Defaults to 1.

x instance-attribute
x: int

The X coordinate on screen where the click occurs.

y instance-attribute
y: int

The Y coordinate on screen where the click occurs.