Topic was automatically imported from the old Question2Answer platform.
So I have recently (literally this morning) gotten back into coding. I have a little experience with Lua, and I wanted to try out Godot. I’m making a walking animation and I have no idea how to do that. I have been looking for hours. Any help is appreciated!
so what your code is saying is " if whatever input I pressed is true, play animation.
otherwise if I’m not pressing an input, stop my animation."
Also I recommend changing your other “if” statements under your first “if” statement to "elif instead. This will allow your code to override your previous button presses and keep your animations from not playing properly. Hope That solved your problem!
Whoops, meant to hit the comment button, sorry about that.