事件
def on_touch_down(self, touch):
if super().on_touch_down(touch):
return True
if not self.collide_point(touch.x, touch.y):
return False
print('you touched me!')
return TrueLast updated
def on_touch_down(self, touch):
if super().on_touch_down(touch):
return True
if not self.collide_point(touch.x, touch.y):
return False
print('you touched me!')
return TrueLast updated