This is an example of a basic control for ball and character. Just move your mouse and see what happens.
I thank my brain for helping me come up with this idea and Chumbaka for giving me some lessons on creating a ball game.