I would need to see a graph with the possibility of making it work with multiple states such as while I walk or while I run or I am crouching. in the video it only takes into account whether a character is walking.