# Change Carousel views(activePane) from script

**URL:** <https://forum.inductiveautomation.com/t/change-carousel-views-activepane-from-script/71708>\
**Category:** Ignition Early Access\
**Created:** [March 28, 2023, 2:42pm UTC](https://forum.inductiveautomation.com/t/change-carousel-views-activepane-from-script/71708 "2023-03-28T14:42:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [March 28, 2023, 2:42pm UTC](https://forum.inductiveautomation.com/t/change-carousel-views-activepane-from-script/71708/1 "2023-03-28T14:42:11Z")

</div>

Hi

I want to change the Carousel view(active pane) from a script and not use arrow or dots options.  
I try to do it by writing the active pane property and it works but the animation is not working with this method. (The only reason I use Carousel is for the animation.  
Does anyone know how to do it?

Thanks.

---

<div class="post-metadata">

**Author:** ![Gurjot\_Sandhu](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gurjot_sandhu/32/38368_2.png) [@Gurjot\_Sandhu](https://forum.inductiveautomation.com/u/Gurjot_Sandhu)\
**Post date:** [April 6, 2023, 5:45pm UTC](https://forum.inductiveautomation.com/t/change-carousel-views-activepane-from-script/71708/2 "2023-04-06T17:45:41Z")

</div>

Hi [nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian),

I am not exactly sure what you mean by "it works but the animation is not working". Could you post a screen recording?

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [April 6, 2023, 6:36pm UTC](https://forum.inductiveautomation.com/t/change-carousel-views-activepane-from-script/71708/3 "2023-04-06T18:36:57Z")

</div>

Hi @Gurjot_Sandhu

I use a button to change activePane of Carousel to change view but the slide animation doesn't work.

![carous](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/3/7370ad07ae76189683f35c0d5f6dd249c83bc05b.gif)

---

<div class="post-metadata">

**Author:** ![gpellicelli](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gpellicelli/32/53466_2.png) [@gpellicelli](https://forum.inductiveautomation.com/u/gpellicelli)\
**Post date:** [June 3, 2024, 2:24pm UTC](https://forum.inductiveautomation.com/t/change-carousel-views-activepane-from-script/71708/4 "2024-06-03T14:24:37Z")

</div>

Any update?  
@nader.chinichian

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [June 3, 2024, 8:36pm UTC](https://forum.inductiveautomation.com/t/change-carousel-views-activepane-from-script/71708/5 "2024-06-03T20:36:04Z")

</div>

Unfortunately not yet. This should be down by IA.  
Mean while you use create your own version of Carousel by embedded views and CSS transition.

---

<div class="post-metadata">

**Author:** ![gpellicelli](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gpellicelli/32/53466_2.png) [@gpellicelli](https://forum.inductiveautomation.com/u/gpellicelli)\
**Post date:** [June 3, 2024, 8:41pm UTC](https://forum.inductiveautomation.com/t/change-carousel-views-activepane-from-script/71708/6 "2024-06-03T20:41:59Z")

</div>

Thank you am gonna wait for now and using the dot and slide animation for now.
