Vigyata.AI
Is this your channel?

Stop Inputs while UI is open using Ninja Bear Studios (NBS)

312 views· 18 likes· 5:12· Dec 7, 2025

🛍️ Products Mentioned (8)

#coding #programming #unrealengine5 #ue5 #gamedev #gamedevelopment #gaming Website: https://codewithro.com/ Support me on Patreon: https://www.patreon.com/CodeWithRo Join my Discord Server: https://discord.gg/gZH4JDpgdT Donations: https://ko-fi.com/codewithro Synty Store: https://syntystore.com/codewithro Ithappy Store: https://ithappystudios.com/?ref=codewithro Use Code: CODEWITHRO25 to get 25% all Ithappy assets! Business Inquiries: codewithropatreon@gmail.com My full dev setup & gear: https://amzn.to/49gqJAU Learn Software/Gamd Dev: https://amzn.to/4blLbmA

About This Video

In this Patreon request, I’m showing you how to open an inventory UI in Unreal and actually stop your character from moving while the UI is up—plus get the mouse cursor to show so the inventory doesn’t feel super awkward. The goal is simple: when I press I, the cursor appears, WASD/space stops working, and I can manage the inventory like a normal human. When I close the inventory, everything goes back to the default third-person controls. I do this from my BP HUD where the inventory widget is created and opened via an event dispatcher. As soon as the inventory opens, I grab the Player Controller and set “Show Mouse Cursor” to true, and then flip it back to false when we’re done. The big piece is using Ninja Bear Studios’ input system: from the Player Controller’s Input Manager Component, I remove the relevant Input Setup Data assets while the UI is open (both my default movement and my mouse look). Then I add them back when the UI closes. I also talk about setting up a separate UI input setup (like an IMC UI) so you can still close the inventory while you’re inside it—otherwise you can accidentally disable your own escape hatch and get stuck.

Frequently Asked Questions

🎬 More from Code With Ro