Click onto the purple squares before they reach the circle but avoid the red ones.
PRESS ENTER TO SEARCH