clicknium.mouse.position

def position(
self
) -> Tuple[int,int]

Get the position of the mouse cursor.

Parameters:
 None

Returns:
 The current X and Y coordinates of the mouse cursor.

Example:


from clicknium import clicknium as cc

# get the position of the mouse cursor
x,y = cc.mouse.position()
print("X integer coordinate is ", x)
print("Y integer coordinate is ", y)

PreviousscrollNextSAP

What are your feelings
Updated on 30 August 2023