# How to move an object to multiple locations with a single timeline

**URL:** <https://forums.unrealengine.com/t/how-to-move-an-object-to-multiple-locations-with-a-single-timeline/436696>\
**Category:** Blueprint\
**Tags:** timelines, lerp, unreal-engine, UE4, question, Blueprint\
**Created:** [October 30, 2018, 11:43am UTC](https://forums.unrealengine.com/t/how-to-move-an-object-to-multiple-locations-with-a-single-timeline/436696 "2018-10-30T11:43:18Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [November 29, 2022, 8:48am UTC](https://forums.unrealengine.com/t/how-to-move-an-object-to-multiple-locations-with-a-single-timeline/436696/6 "2022-11-29T08:48:10Z")

</div>

Not sure what you’re after _precisely_, but if the generic:

> - keep the locations in an array, locations A, B and C at indexes 0, 1 & 2
> - when the timeline plays for the 1st time, use the locations in the array 0 & 1 as start / end points (move from A to B)
> - when the TL plays the second time, use the locations in the array 1 & 2 as start / end points (move from B to C)

Suggested above is _it_, then:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/d/c/ddcaae95ec4075813e6c97c3b2577916c686256e.jpeg)

It will cycle through the locations in the array and `Lerp` between the vectors; and wait for 1s before carrying on.

* * *

There’s probably half a dozen ways to achieve that. And this method may not be suitable in certain scenarios. You generally choose the right tool for the job. You can also follow the link in the post above to see more examples.

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-move-an-object-to-multiple-locations-with-a-single-timeline/436696)._
