How do you make the enemy follow the nearest player?

in my game, i want the zombie to chase the nearest player, but when i tried to do that, the zombie would only follow one player everytime.

A believe a proximity follow can be used, as proximity can be set to the nearest object, just make sure it constantly updates

could u give a example?

replace the extracter x and y with the proximitys x and ys