# router.goBack() several times in one jump

**URL:** <https://forums.fusetools.com/t/router-goback-several-times-in-one-jump/5438>\
**Category:** General\
**Created:** [February 17, 2017, 1:10pm UTC](https://forums.fusetools.com/t/router-goback-several-times-in-one-jump/5438 "2017-02-17T13:10:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emptyfortress](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/emptyfortress/32/261_2.png) [@Emptyfortress](https://forums.fusetools.com/u/Emptyfortress)\
**Post date:** [February 17, 2017, 1:10pm UTC](https://forums.fusetools.com/t/router-goback-several-times-in-one-jump/5438/1 "2017-02-17T13:10:23Z")

</div>

Can anyone explain me a correct way for `router.goBack()` for several steps in one jump?

I have a history list of my path through the pages. When user tap some entry in this list, router should navigate to this page. I made a `for` loop and repeat `router.goBack()` several times. All works just fine, but may be there is a better way?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Zabeeh\_Khan](https://avatars.discourse-cdn.com/v4/letter/z/dfb087/32.png) [@Zabeeh\_Khan](https://forums.fusetools.com/u/Zabeeh_Khan)\
**Post date:** [February 26, 2017, 7:59am UTC](https://forums.fusetools.com/t/router-goback-several-times-in-one-jump/5438/2 "2017-02-26T07:59:52Z")

</div>

Why don’t you use `router.goto("page")` instead? You can go to the intended page wherever you are!
