How to get minimun and maximum height of terrain in specific area

I draw a polygon to limit the area of terrain, and I want to know its minmum and maximum height in this area, how could I do?

You need to collect all the coordinates present inside the polygon and get the min max height. Check this post about it.

Thanks a lot! That is what I want. :kissing_heart: