Intro to Ai With Blueprints tutorial

Hi
In the course Intro to AI with blueprints the AI character is moving around until the Hunger reaches 1 then it goes to nearest food source but when it sees player it starts chasing player and if hunger reaches 1 still chasing player now How can I make the AI character to stop chasing player when hunger reaches 1 and go to nearest food source?

It can be as simple as adding a new service to check the hunger level on your btt, when you are chasing the player. Then, this service will set the (blackboard key) decorator to make the decision on which behaviour should be prioritised.

Hope you understand.