Execute Blueprint Functions when Application gets focus/loses focus

Hi XuruDragon ,

thanks for your answer. I implemented the code as you said. Then created a new Blueprint derived from MyGameViewportClient. There I have the event Action To Do Before Lost Focus but the event is still not working.

104765-lostfocus.png