This is an experiment to test bouncing off of round objects. The X and Y velocities are converted into a single value then converted back into X and Y using a different angle. The pins shown onscreen are just stamps with just one sprite that moves to the closest pin to provide an angle for the ball to bounce from. The second sprite isn't truely needed but it makes the script much more convenient.