code: def translate(self, x, y):
      
          
      
          self.x = x
          self.y = y
docs: Positions the layer at the given coordinates.
      
          The x and y parameters define where to position 
          the top left corner of the layer,
          measured from the top left of the canvas.