How to Exit Application in Android on Back Button

Hi, I created a game in android using Splash Screen, Main Menu and the Game. Everything is working fine. Now I just want that whenever a player press the back button in his phone, then a confirmation menu should appear asking confirmation from the user to quit and then quit the game. Kindly help me to resolve the issue.

Hi guys, anyone there to help me out?

Its been 2 days and no response till date

I solved it myself. Thanks for the support

Care to share how you did it? I look forward to your swift response.

For anyone interested here is how you can make the back button on android to quit the game:

There is a blueprint node called Android Back

2 Likes

That’s right. Make sure you’re in your Game Controller and there you’ll find Android back, home and volume keys

Look at Creating the UI for Unreal Match 3 | Unreal Engine Documentation, section “Android Back Button”.

1 Like