I am trying to make a game : I am trying to make 2D shooter with python tkinter
Here are my progress

    from tkinter import *
    
    root = Tk()
    
    c = Canvas(root, height=500, width=500, bg='blue')
    c.pack()
    
    circle1x = 250
    circle1y = 250
    circle2x = 250
    circle2y = 250
    
    circle1 = c.create_oval(circle1x, circle1y, circle1x + 10, circle1y + 10, outline='white')
    circle2 = c.create_rectangle(circle2x, circle2y,circle2x + 10, circle2y + 10)
    
    pos1 = c.coords(circle1)
    pos2 = c.coords(circle2)
    
    c.move(circle1, 250 - pos1[0], 250 - pos1[2])
    c.move(circle2, 250 - pos1[0], 250 - pos1[2])
    
    beginWall = c.create_rectangle(0, 200, 500, 210, outline='white')
    
    def move_circle(event):
       pass
    
    c.bind('<Motion>', move_circle)
But I am trying to make the func called move_circle make circle1 and circle2 follow the mouse pointer . Something like this c.goto(circle1, x, y)