Community Tutorial: BP Gettting started with Enhanced Input

Learn how to set up the Enhanced Input System in Unreal Engine using Blueprints with this beginner-friendly tutorial! In this guide, we’ll walk you through the basics of configuring input for player movement, jumping, and aiming. You’ll learn how to:

Define Input Actions to handle specific player inputs.
Create and configure an Input Mapping Context to map input actions to keys or buttons.
Implement the corresponding behaviors for movement, jumping, and aiming using Blueprints.

By the end of this tutorial, you’ll have a fully functional input system and a solid foundation for building more advanced input behaviors in your Unreal Engine projects.

https://dev.epicgames.com/community/learning/tutorials/1w4K/unreal-engine-bp-gettting-started-with-enhanced-input

great tutorial.
some suggestions:
you don’t need to set the game mode as default. you just need to set it on the world settings of the map.
begin play is not the best place to get the controller. you should take a look at “Possesed” and override that.
that one will work with other workflows, like network.