def animate_to_point(self, pos): ani=Animation(pos=(pos), duration=0.2) ani.stone_pos=pos ani.stone_color=self.color ani.bind(on_complete=self.parent.stone_placed) ani.start(self) counter=-1 for i in self.parent.coordinates: counter+=1 if i==pos: self.placed(numb=counter) self.parent.plc.move_to_pos(counter, self.color) print "human set:", counter