const y = constrain(this.y, Math.min(start.y, end.y), Math.max(start.y, end.y));