Workshop › Klondike Solitaire › Step 32 of 40
An empty column has no cards, so hit never finds it, and a king cannot be dragged there. An empty column's outline must
count too.
```js
if (!pile.length && y >= TAB_Y && y <= TAB_Y + CH) return { key, index: 0 }
```y is inside its outline, the answer is that column, index 0.In hit, under the inner for loop's closing } (still inside if (key[0] === 't') {), write the line.
Skills: Collision detection
← Drop it where you want A clock →