# Input mode "game only" won't work, game doesn't want to accept any inputs afterwards

**URL:** <https://forums.unrealengine.com/t/input-mode-game-only-wont-work-game-doesnt-want-to-accept-any-inputs-afterwards/1158801>\
**Category:** UI\
**Tags:** Input, unreal-engine, keyboard, UI, question, Blueprint\
**Created:** [May 8, 2023, 11:36am UTC](https://forums.unrealengine.com/t/input-mode-game-only-wont-work-game-doesnt-want-to-accept-any-inputs-afterwards/1158801 "2023-05-08T11:36:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tropsele](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tropsele/32/558103_2.png) [@Tropsele](https://forums.unrealengine.com/u/Tropsele)\
**Post date:** [May 8, 2023, 11:36am UTC](https://forums.unrealengine.com/t/input-mode-game-only-wont-work-game-doesnt-want-to-accept-any-inputs-afterwards/1158801/1 "2023-05-08T11:36:14Z")

</div>

I tried to implement a simple retry button, that is supposed to reload the current level and respawn the player. Unfortunately it doesn’t work as intended: The button loads the level and respawns the player, but from there on the game does’t allow any inputs anymore (Can be seen in the linked video). Although I use the same code for starting the level in the first place (Screenshot) and it works, it won’t if I trigger the event via my respawn button.

If I remove the “set input mode UI only” node that is triggered when the player dies, I can repspawn without issues, but before still move while being dead, which is also not ideal.

 ![Bought code](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/b/6/6b63e2b625440adda5f6934b9c4177e710ecc72d.png)  
 ![Own Code](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/6/4/c6435569ca20119f21ea33d3f6fb3be755497473.png)

Video: [Can't move after respawn with "retry button" - YouTube](https://youtu.be/PAiXXsKRyzU)

---

<div class="post-metadata">

**Author:** ![Sarlack](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sarlack/32/1194542_2.png) [@Sarlack](https://forums.unrealengine.com/u/Sarlack)\
**Post date:** [May 8, 2023, 7:22pm UTC](https://forums.unrealengine.com/t/input-mode-game-only-wont-work-game-doesnt-want-to-accept-any-inputs-afterwards/1158801/2 "2023-05-08T19:22:07Z")

</div>

Maybe put the SetInputModeGameOnly on the EventBeginPlay of the character so it is called after the level is restarted and the new character is spawned.
