def mouse_button_down( event ): result = t.collision( event.pos ) if result is not None: return u.Unit( result )
def mouse_motion( event ): result = t.collision( event.pos ) if result is not None: result.set_highlight()