Displaying water waves properly

Hello,i 've been trying to add semi realistic water for my game’s environment.I am on UE5.2,I dont use the water plugin instead i made my M_Ocean material.All good until ive decided to use a higher(in triangles)mesh so that i can have some sort of displacement.Currently it takes the whole mesh and moves it on the z axis instead of taking each face

the append node at the end connects to the World Position Offset.My material is set to Surface and translucent.How could i solve that?

Any help is appreciated!