Press the flag, and watch it
I had trouble detecting each time it hit the corner, but i will add that in a later update. Hope you enjoy this though!