Hit the spacebar to launch the ball when the pointer is over the desired power.
I just wanted to make a basic game without variables and ended up with this.