def on_touch_down(self, touch):
        """Tell my parent if I've been touched"""
        if self.parent is None:
            return
        if self.collide_point(*touch.pos):
            self.parent.bar_touched(self, touch)
def on_touch_down ( self , touch ) : if self . parent is None : return if self . collide_point ( * touch . pos ) : self . parent . bar_touched ( self , touch )
Tell my parent if I've been touched