# How to make several meshes move along spline?

**URL:** <https://forums.unrealengine.com/t/how-to-make-several-meshes-move-along-spline/761568>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [February 1, 2023, 6:24pm UTC](https://forums.unrealengine.com/t/how-to-make-several-meshes-move-along-spline/761568 "2023-02-01T18:24:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LynxSong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LynxSong](https://forums.unrealengine.com/u/LynxSong)\
**Post date:** [February 1, 2023, 6:24pm UTC](https://forums.unrealengine.com/t/how-to-make-several-meshes-move-along-spline/761568/1 "2023-02-01T18:24:24Z")

</div>

I am currently making my very first project in Unreal and I’m having some problems with blueprints. I am making a train scene where you as the player can walk around in the train and look out at the scenery moving outside.

My plan is to make an array with a few different meshes of scenery that can be put in any order and have these generate along a spline. When the application is started, these meshes move along the spline and when coming to the end of the spline they are deleted and new ones generate at the beginning. I’ve followed [this tutorial](https://www.youtube.com/watch?v=-V6D5WtemMI&list=PLIwn0L-WSOybUaGhESIM4GnERLak2_29R&index=8&t=602s&ab_channel=MattAspland) to make an object follow a spline but I am unsure how to continue from here. Is there a better way of doing this?

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [February 1, 2023, 6:29pm UTC](https://forums.unrealengine.com/t/how-to-make-several-meshes-move-along-spline/761568/2 "2023-02-01T18:29:53Z")

</div>

Check those 2 threads for inspiration:

> [@Endless world](https://forums.unrealengine.com/t/endless-world/479530/11):
>
> Yes, very early days slight_smile I get sick of a) not being able to fill a terrain with nature, b) putting boundaries around the world. This is a possible answer… [331188-more.gif]

> [@Move multiple actors along spline](https://forums.unrealengine.com/t/move-multiple-actors-along-spline/437200/7):
>
> Here’s a simplified (compared to yours) script I’d use were I to push numerous actors along a spline: [[Image from Gyazo]](https://gyazo.com/cc07a1a805a8c28391c561dbac6e5380) Essentially, each car stores an offset. We animate another spline offset using a timeline, add both, and reposition the car. An optional Modulo wraps the value so we get perpetual motion.
