# Cycle through different Perspective Views every minute

**URL:** <https://forum.inductiveautomation.com/t/cycle-through-different-perspective-views-every-minute/74654>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 6, 2023, 5:45pm UTC](https://forum.inductiveautomation.com/t/cycle-through-different-perspective-views-every-minute/74654 "2023-06-06T17:45:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![S\_B](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@S\_B](https://forum.inductiveautomation.com/u/S_B)\
**Post date:** [June 6, 2023, 5:45pm UTC](https://forum.inductiveautomation.com/t/cycle-through-different-perspective-views-every-minute/74654/1 "2023-06-06T17:45:12Z")

</div>

Hello,

I am trying to create a client script that will change the view every minute.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/4/94fe59dede8e35e8d9ef777016059e9579c2edc9.png)

I have the current code written out as a timer on a client event and I'd like to show BeltSanding view then the next minute show FinalMachining views on the screen.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/2/32636775e3ca3b7ce04133c3fe6abc95ad7da82a.png)

Is this possible?

Thanks

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [June 6, 2023, 5:59pm UTC](https://forum.inductiveautomation.com/t/cycle-through-different-perspective-views-every-minute/74654/2 "2023-06-06T17:59:27Z")

</div>

`swapTo` is for Vision not Perspective. For perspective, you would use [system.perspective.navigate()](https://docs.inductiveautomation.com/display/DOC81/system.perspective.navigate). You should check out the [carousel](https://docs.inductiveautomation.com/display/DOC81/Perspective+-+Carousel) component for this.

---

<div class="post-metadata">

**Author:** ![zacht](https://avatars.discourse-cdn.com/v4/letter/z/ea5d25/32.png) [@zacht](https://forum.inductiveautomation.com/u/zacht)\
**Post date:** [June 6, 2023, 6:00pm UTC](https://forum.inductiveautomation.com/t/cycle-through-different-perspective-views-every-minute/74654/3 "2023-06-06T18:00:08Z")

</div>

Maybe something like this would work.

> [@Automatic navigation after 5 seconds](https://forum.inductiveautomation.com/t/automatic-navigation-after-5-seconds/67372/3):
>
> I feel like the simplest solution that doesn't use sleep would be like [this solution](https://forum.inductiveautomation.com/t/change-the-text-in-a-label-on-a-time-delay/63520/14) from the thread @justinedwards.jle linked. I wrote up a little example that adapts it to this use case. I set up two views, one as my landing page and one as the second page. [image] On the landing page, in the root container, I set up some custom props, redirect\_timer and redirect\_at [image] The top prop, redirect\_timer, is bound to the expression now(1000) to update once a second. If you want a more prec…

Your code is a client event script which is Vision only. The `system.nav.*` functions are also vision only. Since you've tagged this Perspective and are switching views they won't work for you.

@dkhayes117 beat me to it, but the link might still be useful.

---

<div class="post-metadata">

**Author:** ![S\_B](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@S\_B](https://forum.inductiveautomation.com/u/S_B)\
**Post date:** [June 6, 2023, 6:02pm UTC](https://forum.inductiveautomation.com/t/cycle-through-different-perspective-views-every-minute/74654/4 "2023-06-06T18:02:42Z")

</div>

Thanks All,

All this information helps a bunch and should be able to figure it out from here!
