For this project all you have to do is move your mouse pointer and the ball will follow it.
I made the ball myself. I mean I edited it. I took a ball from the sprites and made rainbow stripes on it. You can copy this project if you give it a heart and a star. Thanks.