Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get mouse click coordinates python turtle

import turtle

def get_mouse_click_coor(x, y):
    print(x, y)

turtle.onscreenclick(get_mouse_click_coor)

turtle.mainloop()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mouse #click #coordinates #python #turtle
ADD COMMENT
Topic
Name
3+8 =