This quick tutorial goes over how to make a adjustable spline blueprint that can stretch or squish meshes. The spline had adjustable parameters for distance adjustments and can automatically calculate mesh placement too based on model width.
https://dev.epicgames.com/community/learning/tutorials/PedL/adjustable-spline-blueprint-tutorial-for-unreal-engine-5