Path making

I’m trying to find a way to procedurally lay down a path, road and/or fence as a function of the game. Think Simcity roads/zoning or Tropico roads/paths. The same logic I would use for putting down a fence line like in AoE or command and conquer. Essentially I want the player to select a mesh/actor, click in a space, drag the selection to an end point and release the button to lay the mesh over the entire drawn path/area. I’m hoping to accomplish this is blueprints if possible, I’m not good enough with C++ yet to accomplish it otherwise. I know it can be done using construction script but that is for level building pre-play. Any help and advice would be much appreciated!

I think what you looking for is spline component:

It not only let you layout mesh on path but also you got path data you can use in code.

I was thinking splines but I can’t seem to find a way to make them procedurally at runtime. Most examples are either using them during level construction and/or for animation paths. Do you have any other suggestions or resources?

Thx