yaa I used Godot. And that movement wasn't intentional i just couldn't find a way to fix it
Oh, let me know if you need help fixing this. I'm also using Godot for my game.