ok so i fixed the problem with the sprite being pulled left out of the screen, (line 9-12 had 0.1, so i changed it to 0.0, and now im not pulled anywhere) also up and down on the Dpad were switched, so i fixed that too. #thanks PChicken for helping me. also how would i make gravity, like so the charicter falls to the bottem of the screen, also how would i do B=jump, (like a code to do that)