IMPORTANT

Code that will determine scale should go in here, and replace keyup/keydown
That way you can simply use these functions in the if_train to get the ball to move correctly