# Problems switching between looping timelines

**URL:** <https://forums.unrealengine.com/t/problems-switching-between-looping-timelines/280067>\
**Category:** Audio\
**Tags:** unreal-engine, looping, Blueprint, question\
**Created:** [April 9, 2014, 9:28am UTC](https://forums.unrealengine.com/t/problems-switching-between-looping-timelines/280067 "2014-04-09T09:28:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lucasbman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lucasbman](https://forums.unrealengine.com/u/Lucasbman)\
**Post date:** [April 9, 2014, 9:28am UTC](https://forums.unrealengine.com/t/problems-switching-between-looping-timelines/280067/1 "2014-04-09T09:28:07Z")

</div>

I am new to Unreal and am just trying some basic switch puzzle mechanics to get me familiar with the blueprints. The problem I am trying to solve is this. I have a series of 3 obstacles which turn on and off in a sequence - I am using a 3 float tracks in a timeline to control the visibility of these obstacles. The timeline is set to to loop. When the player flicks a switch I want to change to a second timeline where the same obstacles turn on and off in a different sequence. The blueprint network is attached - I am checking for the key press, then the ID of the switch - I then go through a flipflop node (switch on or off) and from there choose my timeline. When the timeline nodes are not set to loop everything works - the sequence plays correctly once and stops. Flipping the switch plays the other sequence once and stops. However I want the sequence to play infinitely and then stop when I flip the switch. I found some nodes that can stop a timeline looping which I inserted but they stop things for good and the timeline node doesn’t restart the sequence. Has anyone got any suggestions of how I can change between looping sequences? In my ideal world I would have a default and at least 3 sequences for this puzzle to work but had started with two just to get things working!

---

<div class="post-metadata">

**Author:** ![Neposedko](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Neposedko](https://forums.unrealengine.com/u/Neposedko)\
**Post date:** [November 11, 2019, 3:39pm UTC](https://forums.unrealengine.com/t/problems-switching-between-looping-timelines/280067/2 "2019-11-11T15:39:04Z")

</div>

I faced this issue also and resolve it like this. I hope this should help someone to solve an issue

 ![292160-pic1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/2/8/d286ec031dfa387cc5d95fab2f9169718cb1a5f8.png)

---

<div class="post-metadata">

**Author:** ![MDamn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MDamn](https://forums.unrealengine.com/u/MDamn)\
**Post date:** [July 23, 2021, 7:37pm UTC](https://forums.unrealengine.com/t/problems-switching-between-looping-timelines/280067/3 "2021-07-23T19:37:41Z")

</div>

Thanks! That really helped me 😃
