# Input does not work. Why?

**URL:** <https://forums.unrealengine.com/t/input-does-not-work-why/492782>\
**Category:** Blueprint\
**Tags:** Input, box-collision, unreal-engine, Blueprint, UE4-27, question\
**Created:** [January 31, 2022, 4:13pm UTC](https://forums.unrealengine.com/t/input-does-not-work-why/492782 "2022-01-31T16:13:33Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vinstand](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vinstand](https://forums.unrealengine.com/u/Vinstand)\
**Post date:** [January 31, 2022, 4:13pm UTC](https://forums.unrealengine.com/t/input-does-not-work-why/492782/1 "2022-01-31T16:13:33Z")

</div>

I want to make a sign and when the player is near the sign he should be able to press a button which should trigger a custom event. That didn’t work though, so I tried a print string right after the input and that didn’t work either. Of course I added an action mapping for this button. How do I fix this? Actually I am using the Version 5-EA but this Tag does not count as a Version Tag so I added the 4-27 Tag to post this question.

 ![Screenshot](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/0/3/50348fa2638f8cc38dcc201ce130bb294532521c.png)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [January 31, 2022, 4:16pm UTC](https://forums.unrealengine.com/t/input-does-not-work-why/492782/2 "2022-01-31T16:16:06Z")

</div>

Did you enable input on the blueprint?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/9/c/79c67b48b2aef3e5400f61c5d7b77b52880f1df1.png)

---

<div class="post-metadata">

**Author:** ![Vinstand](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vinstand](https://forums.unrealengine.com/u/Vinstand)\
**Post date:** [January 31, 2022, 4:38pm UTC](https://forums.unrealengine.com/t/input-does-not-work-why/492782/3 "2022-01-31T16:38:55Z")

</div>

Thanks, that fixed the problem, but now I have another one. The custom event doesn’t work. Can you help me with that too?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [January 31, 2022, 4:42pm UTC](https://forums.unrealengine.com/t/input-does-not-work-why/492782/4 "2022-01-31T16:42:22Z")

</div>

Did you put a print string right after it. There’s not too much to input actions, define it and plonk the custom event in your blueprint.

What I will mention, for free, is, this isn’t going to work 🙂

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/c/9/dc98ba7687559db9afc81873514cda5b4845c03b.png)

Let’s say the top line of code runs, but the player hasn’t overlapped the box. In that case, this widget reference is ‘none’.

Plus: if you’re only concerned if the player is overlapping or not, just use ‘OnBeginOverlap’ ( and End… ). Those events fire a lot more reliably. When testing components like this, the begin and end overlaps can fire multiple times for one player movement.

---

<div class="post-metadata">

**Author:** ![Vinstand](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vinstand](https://forums.unrealengine.com/u/Vinstand)\
**Post date:** [January 31, 2022, 4:57pm UTC](https://forums.unrealengine.com/t/input-does-not-work-why/492782/5 "2022-01-31T16:57:58Z")

</div>

I tried print strings in multiple positions and within the blueprint they worked perfectly. But in my game mode, where the custom event is, there is no signal. The red arrow is where i put print strings.  
Blueprint: both worked

 ![Screenshot2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/a/8/2a838b67fd5a2c2515767eb515fc73f739bf18a4.png)

Thank you for your other suggestions, I will implement them.

---

<div class="post-metadata">

**Author:** ![Vinstand](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vinstand](https://forums.unrealengine.com/u/Vinstand)\
**Post date:** [January 31, 2022, 4:59pm UTC](https://forums.unrealengine.com/t/input-does-not-work-why/492782/6 "2022-01-31T16:59:10Z")

</div>

Gamemode: did not work  
 ![Screenshot4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/0/b/d0bb84c71bd2c8cc1dd3d126cc25e5d2735a2f4f.png)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [January 31, 2022, 5:02pm UTC](https://forums.unrealengine.com/t/input-does-not-work-why/492782/7 "2022-01-31T17:02:50Z")

</div>

How are you triggering it? I don’t see you making a call on the game mode…

Wait, ok I see it. In that case your reference to the game mode has not been assigned. Are you by chance getting ‘none’ errors?

---

<div class="post-metadata">

**Author:** ![Vinstand](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vinstand](https://forums.unrealengine.com/u/Vinstand)\
**Post date:** [January 31, 2022, 5:07pm UTC](https://forums.unrealengine.com/t/input-does-not-work-why/492782/8 "2022-01-31T17:07:44Z")

</div>

I don´t know what you exactly mean with ‘none’ errors, but when I compile it, there are no errors.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [January 31, 2022, 5:07pm UTC](https://forums.unrealengine.com/t/input-does-not-work-why/492782/9 "2022-01-31T17:07:57Z")

</div>

After running, does the editor give errors?

---

<div class="post-metadata">

**Author:** ![Vinstand](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vinstand](https://forums.unrealengine.com/u/Vinstand)\
**Post date:** [January 31, 2022, 5:08pm UTC](https://forums.unrealengine.com/t/input-does-not-work-why/492782/10 "2022-01-31T17:08:46Z")

</div>

Not at all

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [January 31, 2022, 5:09pm UTC](https://forums.unrealengine.com/t/input-does-not-work-why/492782/11 "2022-01-31T17:09:39Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/e/3/4e34f4eb158f219ba0768d2b0484ef43e13210b0.png)

---

<div class="post-metadata">

**Author:** ![Vinstand](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vinstand](https://forums.unrealengine.com/u/Vinstand)\
**Post date:** [January 31, 2022, 5:16pm UTC](https://forums.unrealengine.com/t/input-does-not-work-why/492782/12 "2022-01-31T17:16:44Z")

</div>

That fixed it and now everything is running perfectly. Thank you very much for your help. I’m fairly new to Unreal and I wouldn´t be able to fix this without you.

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [January 31, 2022, 5:39pm UTC](https://forums.unrealengine.com/t/input-does-not-work-why/492782/13 "2022-01-31T17:39:55Z")

</div>

You’re welcome 😃
