code: def setLoc(self, loc):   # loc must be a tuple or list of x,y coordinates
          
          self.loc = loc
          self.rect[0] = self.loc[0]
          self.rect[1] = self.loc[1]
docs: Sets a new location (and changes the rect loc) for this widget.