UEFN UI example for using Verse input and the UI.Back action to close a menu
75 Comments811 Views
Hi UEFN Community,
I’m sharing a quick example of how to hook up the "UI Back" action from Verse. This basic example shows how you can exit a menu when the player takes the action that is tied to the standard button usually used to cancel an action or step back through a menu (depending on the platform, usually mapped to the escape key for keyboard and the bottom or right face-button on a controller).
First, here's the level setup:
- A volume is used to trigger a basic UI menu to be shown when the player enters it
- A Verse device runs the demo
Since the demo uses UMG for UI, here is the UI widget structure:
- The main part is a Custom Button with basic visuals built using an image configured as a rounded box.
- Inside the rounded box is the text you see plus an Action Widget that has its Enhanced Input Action property set to use "IA_UI_Back".
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.