# Enhanced Input Mapping

**URL:** <https://forums.unrealengine.com/t/enhanced-input-mapping/2228057>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [December 17, 2024, 2:30pm UTC](https://forums.unrealengine.com/t/enhanced-input-mapping/2228057 "2024-12-17T14:30:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![macwanna](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@macwanna](https://forums.unrealengine.com/u/macwanna)\
**Post date:** [December 17, 2024, 2:30pm UTC](https://forums.unrealengine.com/t/enhanced-input-mapping/2228057/1 "2024-12-17T14:30:07Z")

</div>

Hi,  
I have been experimenting with the Enhanced Input Mapping functions on Unreal Engine 5.4.  
My key input does not work at all. I have ‘Action Mapping’ and ‘Mapping Context’ added. I have tried all the ways and methods I could find on Youtube (from older techniques to stuff that is 1-2 years old). This was the latest one I saw on this forum.  
I have added a basic ‘Spacebar’ function and it does not print string. ‘Action Mapping’ - have set it at ‘bool’ for now. Tried float too, did not work. ‘Mapping Context’ has ‘Left’ and ‘Right’ keys added. And in the blueprint itself have kept spacebar added too (which also doesn’t work). It’s a player character that I am trying this on. Earlier it was a pawn, which was mentioned online that it has no movement characteristics so moved on from that.  
Instead of ‘Get Player Controller’ I have tried ‘Get Controller’ too. Instead of ‘Is Valid’, have tried ‘Enable Input’ too. Have experimented with the priority in Mapping Context set at 0 or 1. The Mapping Context has the context I made selected in it. The Print String works for the event beginplay, but does not work for the key inputs.  
What am I doing wrong?

 ![Screenshot Unreal Blueprint](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/b/3/0b3e46f774795f073e8c26920ad6e100ab45120c.png)

---

<div class="post-metadata">

**Author:** ![VisAgilis](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/visagilis/32/891043_2.png) [@VisAgilis](https://forums.unrealengine.com/u/VisAgilis)\
**Post date:** [December 17, 2024, 2:50pm UTC](https://forums.unrealengine.com/t/enhanced-input-mapping/2228057/2 "2024-12-17T14:50:01Z")

</div>

It should be like this 😇

 ![Screenshot 2024-12-15 014800](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/7/7/377e312e25710e8e0fe0ecdc5e92826137d76ec4.png)

In addition to that:

- Don’t forget to add & assign the input actions your desired keys inside the Input Mapping Context
- Make sure that your character is set as the default pawn and the player controller auto possesses it

---

<div class="post-metadata">

**Author:** ![macwanna](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@macwanna](https://forums.unrealengine.com/u/macwanna)\
**Post date:** [December 18, 2024, 6:19am UTC](https://forums.unrealengine.com/t/enhanced-input-mapping/2228057/3 "2024-12-18T06:19:33Z")

</div>

Hiya,  
Tried the entire process again. It finally worked so have put the solution here (Worked only after adding Game Mode Base, weird coz - it didn’t work in my older files WITH Game Mode Base. Maybe I did some weird stuff in that). Anyway, have put the entire process here.

First → Started a fresh project with ‘No Starter Content’. Created a level, added directional light and a plane (Just to keep basics)

Second → Created ‘Character’ Blueprint, added a cube.

Third → Added IMC and InputAction (with ‘spacebar’ in bool, no other additions)

Fourth → Changed the ‘W’ key to ‘U’ just in case the default camera movement function did not interfere. The keys did not work.

Fifth → Added more blueprints to check further, input keys did not work UNTIL I put a Game Mode Base

Basic Game Mode Base (Empty) → Default Pawn set is character, and override set on THIS game mode, also added a player start (just coz)

 ![S6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/0/3/4037925112625b5ecdb309c222041ee75b2002b3.jpeg)  
The blueprint that finally worked for me → Both Spacebar (through Input Mapping) + ‘U’ key (directly mapped in blueprints) worked finally!  
Note: There is no pawn in this, it’s a controller blueprint, so no conversion of a pawn into a controller through casting.

Thanks!

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [December 18, 2024, 8:44am UTC](https://forums.unrealengine.com/t/enhanced-input-mapping/2228057/4 "2024-12-18T08:44:06Z")

</div>

> [@macwanna](#):
>
> input keys did not work UNTIL I put a Game Mode Base

This has nothing to do with Game Mode, not directly. The input did not work because the character was not possessed. The game mode possessed it for you as soon as you set the default character.

You can possess the character manually, or enable input in actors - something that is disabled by default.

---

<div class="post-metadata">

**Author:** ![GanzaCharlie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GanzaCharlie](https://forums.unrealengine.com/u/GanzaCharlie)\
**Post date:** [June 14, 2026, 8:38pm UTC](https://forums.unrealengine.com/t/enhanced-input-mapping/2228057/5 "2026-06-14T20:38:42Z")

</div>

Thanks a million. Your solution is the only one that worked.
