I am trying to make a block breaker type game but inside my ball\'s movement function always says used before assignment while I put my variable before the function gave global