The player follows the mouse pointer. You can only touch colors that you are. Press 1 = Red Press 2 = Yellow Press 3 = Green Press 4 = Blue Press D for Dark/Light Mode Obstacles come from the top, the bottom, and the right. If you want, I will add them coming from the left too just say so in the comments.
Thank you to FUNUT (known as Professor Blue on Youtube) for the movement of the player. Thank you to Warfame for the timer feature. I'm fairly sure I did the rest of the coding myself but if I forgot anyone - sorry! Thank you to anyone who made a video with a script that I used but forgot!