#NEWLINE# def on_mouse_motion( self , x , y , dx , dy ) : #NEWLINE# #INDENT# m = self . selector . map_layer #NEWLINE# cell = m . get_at_pixel ( * self . manager . pixel_from_screen ( x , y ) ) #NEWLINE# if ( not cell ) : #NEWLINE# #INDENT# self . highlight = None #NEWLINE# return True #NEWLINE# #UNINDENT# x = ( cell . x + m . origin_x ) #NEWLINE# y = ( cell . y + m . origin_y ) #NEWLINE# self . highlight = ( x , y , ( x + m . tw ) , ( y + dx . th ) ) #NEWLINE# return True