Create Input Action #
Create the Input Actions required for your interactions (movement, camera, character Action like jump, fire, etc). Select the value type accordingly. Bool for button, Axis2D for joystick and touch region.
![](https://www.lostingamestudio.com/wp-content/uploads/2024/04/Bool.png)
![](https://www.lostingamestudio.com/wp-content/uploads/2024/04/Axis2D.png)
![](https://www.lostingamestudio.com/wp-content/uploads/2024/04/InputActions.png)
Create Input Action Mapping #
Add all created input actions to Input Mapping Context and assign gamepad or mouse/keyboard key. I recommend using gamepad key.
![](https://www.lostingamestudio.com/wp-content/uploads/2024/04/InputMappingContext-1024x453.png)
Touch Interface #
Create the virtual input required for your interactions (movement, camera, character Action like jump, fire, etc). Fill the accordingly input action.
![](https://www.lostingamestudio.com/wp-content/uploads/2024/04/JoystickOverview-1024x576.png)
Character Blueprint #
- Get Enhanced Input Local Player Subsystem and call Add Mapping Context to use the right Input Mapping Context.
- Get Enhanced Action Event and configure character movement, camera movement and character abilities like jump.
- Test!
![](https://www.lostingamestudio.com/wp-content/uploads/2024/04/CameraConfiguration-1024x576.png)
![](https://www.lostingamestudio.com/wp-content/uploads/2024/04/MoveConfiguration-1024x329.png)
![](https://www.lostingamestudio.com/wp-content/uploads/2024/04/BlueprintVirtualButton-1024x389.png)