getting the height of the nearest vertices

hello
I’m currently working on a boat controller and I have a problem:

my water waves are handled inside of a PBR graph (just noise deforming a plane) and I have a buoyancy script that works based on the height of the nearest vertices height, however, I do not know how to get the nearest vertice from the PBR graph-based water plane and to get the height of these vertices.
+(one of my problems is that the individual vertices positions don’t seem to move - I don’t know how to work around that either (apart from creating a classic shader))

any advice would be greatly appreciated!

I’m sorry to see that nobody replied, if it’s okay you can create sine wave with c# and get the height from the script and integrate that script with shader graph. But I assume you’ve already figured out another way…if so lemme know