How to change the flipbook animation when a key is pressed?

In you BP_Ninja blueprint, go to the Class Defaults and under the Input section, make sure that the Auto Receive Input is set to Player 0:

If it won’t help, add a Print String node to your Space Bar event and see if it prints anything when pressing space. This way you can narrow down the issue.

How do I change the current flipbook to another one when I press a key. The blueprints I have done do not seem to work when I press space nothing happens.