WASD movement with animation

@thomlucc Hi, we are working in creating the animations to play on “WASD” movement ie,
when we press “W” key the dance animation should be triggered along with the forward movement attached to the modal and when we release the “W” key the movement and animation should stop and the same for “S” key with hip-hop animation and backward movement .
We have tried to implement the same but we have failed to do so with the previous playground
@thomlucc has given . Could you guide us to implement the same . Thanks in advance

please refer to the playground added for reference i have implemented WASD movement and animation but failed to achieve the above mentioned feature.

Hello. I think you can find the Animating Characters documentation helpful as well the Animation Blending section. animation-blending.