I have a grid of squares. I want the user to be able to touch and move across the grid, and each square to change colour when the touch goes over it.
I've looked at onTouchStart, onTouchMove and onTouchEnd. Using onTouchMove, the event.target is always the element where the touch began.
How can I find the elements that are moved over with the touch?