Open the BP_SmartAIComponent then go to the ActivateMeleeDetect function and copy the image below.