click green flag to move bat, press left and right arrows
I had 50% of making the code with help from @Kickthatgoal21 but I did the rest