In this step, we’ll create a game mode and a player pawn that we can use to play our newly-created animation. We’ll use EnhancedInput to add a new control to our pawn without having to modify the base class at all!
https://dev.epicgames.com/community/learning/tutorials/DBZ0/unreal-engine-crash-course-playing-an-animation-on-a-character-with-blueprint-and-enhancedinput