Exit Game Function?

You’ll need to create your own Game Module (like a plug in) and then implement the ShutdownModule method. Follow the FDefaultGameModuleImpl to get started.

I’m not sure if you can implement a game module with blueprints.