def update(self):
        self.boxX = self.x + self.stretch
        self.boxY = self.y - self.size / 2

        self.othersLocked = False
        for handle in self.others:
            if handle.locked:
                self.othersLocked = True
                break
        if not self.othersLocked:
            self.overEvent()
            self.pressEvent()
        if self.press:
            self.stretch = constrain(mouseX - width / 2 - self.size / 2,
                                     0, width / 2 - self.size - 1)
dataset/ETHPy150Open jdf/processing.py/mode/examples/Topics/GUI/Handles/handle.py/Handle.update/original