code: def left_press(self, event):
          
          self.current_coords = self.canvas.canvasx(event.x), self.canvas.canvasy(event.y)
          self.set_current()
          if self.current:
              self.canvas.itemconfigure(self.current, fill=self.item_colors[self.current][1])
              self.current = None
              return
          results = self.canvas.find_withtag(tk.CURRENT)
          if len(results) is 0:
              return
          self.current = results[0]
          self.canvas.itemconfigure(self.current, fill=self.item_colors[self.current][2])
docs: Callback for the press of the left mouse button.
  
          Selects a new item and sets its highlightcolor.
          
          :param event: Tkinter event