Get landscape border vertices

Before all, I’m really new to UE.

I’m trying to create a procedural mesh for a landscape, that is a “basement” which covers border of the landscape and exceeds for some height. I’m not sure though how to read all (or some) of border vertices to create procedural triangles and fill the gap. Even reading corner vertices of landscape’s components would suffice me. Is it possible to achieve this?