et j = 0; j < 4; j++) {
                            const point = this.mainPatch.points[i][j];
                            if (distancePoints(pos, point) < GLOBAL_DRAG_THRESHOLD) {
                                this.draggingPointInfo = { colIndex: i, rowIndex: j };
                                this.dragOffsetX = pos.x - point.x;
                                this.dragOffsetY = pos.y - point.y;
                                scheduleGlobalRedraw();
                                return;
            