ents = [];
                    for (let i = 0; i < drawingPositons.length / 3 - 1; i++) {
                        lineElements.push(i)
                        lineElements.push(i + 1);
                    }
                    lineElements.push(drawingPositons.length / 3 - 1, 0);
                    currentGeometry.setElements(elements);
                    lineGeometry.updateData('POSITION', drawingPositons);
                    lineGeometry.setElements(lineElements);
                } else if (drawingStat