This is simple WASD and arrow key movement with x and y speed variables and adjustable acceleration. Thanks for viewing. :) NO ADVERTISING
I made this without help but I hope it helps you in your scratch projects.