# Smoothly switching follower's path

**URL:** <https://phaser.discourse.group/t/smoothly-switching-followers-path/11515>\
**Category:** Phaser 3\
**Created:** [April 10, 2022, 2:58pm UTC](https://phaser.discourse.group/t/smoothly-switching-followers-path/11515 "2022-04-10T14:58:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![legus](https://avatars.discourse-cdn.com/v4/letter/l/90db22/32.png) [@legus](https://phaser.discourse.group/u/legus)\
**Post date:** [April 10, 2022, 2:58pm UTC](https://phaser.discourse.group/t/smoothly-switching-followers-path/11515/1 "2022-04-10T14:58:17Z")

</div>

I am using setPath(path [, config]) to seamlessly switch follower’s paths while the paths are overlapping each other:

follower.setPath(path, { startAt: lemming.pathTween.getValue(), from: lemming.pathTween.getValue(), to: 1, positionOnPath: true, rotateToPath: false, duration: 3000 });

While it works and it is the closest I got to achieve what I wanted, when the switch happens, the follower object will appear at the beginning of the path and only after that will gain the current position on path.

I am sure there must be a way to switch paths without the user noticing it visually.

Codepen:[https://codepen.io/Nostradamus/pen/BaJVpem](https://codepen.io/Nostradamus/pen/BaJVpem)

Any help at all is welcome.  
Thank you,

---

<div class="post-metadata">

**Author:** ![samme](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/samme/32/5275_2.png) [@samme](https://phaser.discourse.group/u/samme)\
**Post date:** [April 10, 2022, 5:00pm UTC](https://phaser.discourse.group/t/smoothly-switching-followers-path/11515/2 "2022-04-10T17:00:07Z")

</div>

This seems to be an inherent limitation of `startAt`. ☹
