How get vertex "z" coordinate, when I know x and y?

Hi,
I’m trying to write script which allows me to get z coordinate of nearest vertex to provide by me x and y coordinates. It is possible? Thanks for any answer in advance :slight_smile: