def up(
self,
x: int,
y: int,
mouse_button: Literal["left", "middle", "right"] = MouseButton.Left
) -> None
Place the mouse at the desired location, and release the mouse button back up.
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
# release the mouse button up on position (100,100)
cc.mouse.up(100,100)