How would i make a goal keeper ai similar to eafc 24?

if you’ve played eafc or any fifa, you have seen the ai goal keepers. I’m wondering how I would make something like that, sees the ball coming towards it and tries to dive to save it and keep it out of the goal.

I want to make something like this but im not sure how and where to even start. if anyone’s able to provide any recourses, ideas or explanations ill be very thankful.

boost i still dont have answers