While you move your mouse, the ball will change colors and follow your mouse. If you press the space bar or flag it will go back to a black screen.
I used someone else's project to help me on this one, but I am not sure whose. So, thanks to anyone who has a similar project for the inspiration and help!