godot/node.py
def _on_position_change(self, new):
        """ Handles the poition of the component changing.
        """
        w, h = self.component.bounds
        self.pos = tuple([ new[0] + (w/2), new[1] + (h/2) ])
def _on_position_change(self, new):
        w, h = self.component.bounds
        self.pos = tuple([ new[0] + (w/2), new[1] + (h/2) ])
def _on_position_change ( self , new ) : w , h = self . component . bounds self . pos = tuple ( [ new [ 0 ] + ( w / 2 ) , new [ 1 ] + ( h / 2 ) ] )
Handles the poition of the component changing.
Handles the poition of the component changing .