#NEWLINE# def on_mouse_drag( self , x , y , dx , dy , button , modifiers ) : #NEWLINE# #INDENT# if self . hovering : #NEWLINE# #INDENT# cps = [ cp for cp in self . get_children ( ) if ( isinstance ( cp , ui . BallWidget ) and ( cp != self . hovering ) ) ] #NEWLINE# for cp in cps : #NEWLINE# #INDENT# self . remove ( cp ) #NEWLINE# #UNINDENT# #UNINDENT# super ( BoneUILayer , self ) . on_mouse_drag ( x , y , dx , dy , button , modifiers )