1import pyautogui
2
3(x, y) = pyautogui.position()
4
5# Creates two lines on x and y axis by using the x and y coordinates of your mouse position
6wh = #heigt of window
7ww = #width of window
8cv2.line(frame, (x, 0), (x, wh), (0, 255, 0), 2)
9cv2.line(frame, (0, y), (ww, y), (0, 255, 0), 2)