{#each { length: GRID_SIZE - 1 } as _, i} {/each} {#if selectedNodeIndex !== undefined} {@const group = groups[selectedNodeIndex]} {#each [0, 1] as i} handleManipulatorPointerDown(e, -i - 1)} /> {/each} {/if} {#each groups as group, i} handleManipulatorPointerDown(e, i)} /> {/each}