Hold down on the ball and watch as the charge ramps up. Let go and click on the ball again to shoot!
I made this project as part of my '10 minute' challenge. And as the name suggests, I made it in 10 minutes. Sorry for no sound or aiming, but considering the time constraint...