# Take a tour to array of Cartesian3 using camera.flyTo

**URL:** <https://community.cesium.com/t/take-a-tour-to-array-of-cartesian3-using-camera-flyto/27415>\
**Category:** CesiumJS\
**Created:** [October 17, 2023, 9:00am UTC](https://community.cesium.com/t/take-a-tour-to-array-of-cartesian3-using-camera-flyto/27415 "2023-10-17T09:00:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![humanAlphabet](https://avatars.discourse-cdn.com/v4/letter/h/49beb7/32.png) [@humanAlphabet](https://community.cesium.com/u/humanAlphabet)\
**Post date:** [October 17, 2023, 9:00am UTC](https://community.cesium.com/t/take-a-tour-to-array-of-cartesian3-using-camera-flyto/27415/1 "2023-10-17T09:00:41Z")

</div>

![image](https://global.discourse-cdn.com/cesium/original/3X/7/2/726e9b40706eecf50bdde8242fea27addf12d7c9.png)

When i click the play button it will automatically flyTo each object.

I loop the array but it execute the 1st and last position.

Any possible solutions? Thanks!

---

<div class="post-metadata">

**Author:** ![Gabby\_Getz](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/gabby_getz/32/7838_2.png) [@Gabby\_Getz](https://community.cesium.com/u/Gabby_Getz)\
**Post date:** [October 18, 2023, 8:18pm UTC](https://community.cesium.com/t/take-a-tour-to-array-of-cartesian3-using-camera-flyto/27415/2 "2023-10-18T20:18:43Z")

</div>

Hi there, could you please provide a quick [code example](https://sandcastle.cesium.com/) that shows the problem?

---

<div class="post-metadata">

**Author:** ![humanAlphabet](https://avatars.discourse-cdn.com/v4/letter/h/49beb7/32.png) [@humanAlphabet](https://community.cesium.com/u/humanAlphabet)\
**Post date:** [November 8, 2023, 4:37am UTC](https://community.cesium.com/t/take-a-tour-to-array-of-cartesian3-using-camera-flyto/27415/3 "2023-11-08T04:37:47Z")

</div>

I was able to solved the issue. Thanks Gabby for the response!
