The goal is to get the most points. Press Space or LMB when on the green area. Also, if you hit green and hit another in less than a second, you raise your combo. You get more points depending on your combo.