How to transform vertices of a dynamic mesh in cpp?

Hi,

I have been doing some research and am trying to find out how, using cpp code I can →

In Unreal Engine 4.27 or Unreal Engine 5.0.0,

  1. Assign a mesh to a dynamic actor →
  2. Select a series of vertices in its vertex index so that I can →
  3. move those vertices around in any direction.

If someone who knows can create a simple cpp source example for me then I would love you forever. It would save me so much research time.

Cheers !