How to create an animation for a sphere (example game: Going balls)?

I need help where my error might be located?