I followed your video, and it does change to the idle animation, the problem is that if i press the “w” and “s” at the same time, and release one of them while pressing the other the character switches to idle but are moving this is because of the boolean that is connected to “released” on the W and S event.
dont know how to solve that