Animation to play on Arrow keys as well as - SOLVED

Hi Community,

My game controls share WASD with Arrow keys.

what’s happening is… if I press W to go up… the animation plays and the legs move… but when i switch to arrow-up… the player moves, but the legs don’t - so the animation basically doesn’t play.


I created two contitions (green) to test… still doesn’t work :frowning:

The player sprite does not have a behaviour assigned.
what’s happening please?

Thanks

Try changing the green outlined event to use the same conditions as the red outlined conditions with only changing the key press.

Hi @v9um,

The green solution doesn’t work either.

I solved it.
I set a var to player = isMove.
If key pressed W or Up… assign 1
else
assign 0