I'm trying to change the walking animation while holding an item (katana). I managed to change it, but it only changes if the player walks while equipping the sword (both at the same time).
If I equip the sword and then walk, the animation doesn't activate.
The first picture is the code to play a "breathing" animation while standing still.
I should clarify that I don't know how to program, and I did this with the help of AI and my basic scripting knowledge. and Sorry if the label is not correct I don't know which one to put