when phone calling how can ı craete automatic pause system

Hi ı make an android game and when ı testing my game call me someone i ignore calling and i press ignore button behaviour of that my game had some problem.Fps drop and my player have a big shake rope swing system fall down.
ı want a pause menu when the phone calling but this must be activate automaticly
thanks for repyl

Hello!

You can use a delegate (ApplicationWillEnterBackgroundDelegate for example) provided in the UPlatformGameInstance class: UPlatformGameInstance | Unreal Engine Documentation

Cheers!