clicknium.mouse.down

def down(
self,
x: int,
y: int,
mouse_button: Literal["left", "middle", "right"] = MouseButton.Left
) -> None

Place the mouse at the desired location, and press the mouse button down.

Parameters:
x[Required]: int
   defines the X integer coordinate.
y[Required]: int
   defines the Y integer coordinate.
mouse_button: MouseButton
   defines the position of the mouse button, and default is left button.

Returns:
 None

Example:


from clicknium import clicknium as cc

# Press the mouse button down on position (100,100)
cc.mouse.down(100,100)

PreviousupNextmove

What are your feelings
Updated on 30 August 2023