This is a movement engine I made. Feel free to use it as long as you credit me.
I learned how to make the smooth movement awhile ago, but I forgot who I learned it from. But, the wall collisions I learned from this project: https://scratch.mit.edu/projects/301877698