i don’t know why the arrows even work I didn’t mean for it, i already fixed stuff and added the up arrow for jumping but I can only update it after the voting ends.
Good! The arrows probably work because you probably used Unity's GetAxis() functions (legacy input system) or the new input system (in this case, a controller might even let you move the character left and right).