The moment I add something else the balls movement doesn't work. If I add another statement like this the ball will be stuck in place. Can anybody help me as to why?
Need help on something else now though. How would I add to that code to also detect where the pong racket is to bounce the ball from it when it collides?
My idea was something along these lines but I know it will just detect the value of the racket on the Y axis and bounce the ball on the X axis where that number may be on the screen.