As the music goes, the arrow moves over the red blue line, which turns red after passing the red liquid in the square, and the red arrow turns blue after passing the blue liquid.