self.canvas.bind_all("<Button-1>", self.start)
self.is_started = False
def start(self, evt):
self.is_started = True
while 1:
if paddle.is_started and not ball.hit_bottom:
ball.draw()
paddle.draw()
tk.update_idletasks()
tk.update()
time.sleep(0.01)