# Parallel timelines

**URL:** <https://discourse.psychopy.org/t/parallel-timelines/39560>\
**Category:** Builder\
**Created:** [April 11, 2024, 8:38am UTC](https://discourse.psychopy.org/t/parallel-timelines/39560 "2024-04-11T08:38:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yehuda.B](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/yehuda.b/32/41470_2.png) [@Yehuda.B](https://discourse.psychopy.org/u/Yehuda.B)\
**Post date:** [April 11, 2024, 8:38am UTC](https://discourse.psychopy.org/t/parallel-timelines/39560/1 "2024-04-11T08:38:02Z")

</div>

**OS** (e.g. Win10): win11  
**PsychoPy version** (e.g. 1.84.x): 2024.1.1  
**Standard Standalone? (y/n)** yes  
**What are you trying to achieve?:**  
Hey!  
So I’m trying to set up a flow where clicking on a ‘yes’ text box lead down one set of routines, and clicking a ‘no’ text box leads down a different set of routines.  
I’m stuck on the part of creating these two ‘‘timelines’’ (added image for reference)  
What will be the best way to do this?

 ![example](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/f/2/f2ed04ac2639f190e998a1e43856f1d6d2575a9e.png)

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [April 11, 2024, 11:30am UTC](https://discourse.psychopy.org/t/parallel-timelines/39560/2 "2024-04-11T11:30:15Z")

</div>

The standard approach to this is to put a loop around each of your alternate timelines with a variable nReps. Set that variable to 0 to skip the loop or 1 to include it.

---

<div class="post-metadata">

**Author:** ![Anna\_Nack](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/anna_nack/32/42601_2.png) [@Anna\_Nack](https://discourse.psychopy.org/u/Anna_Nack)\
**Post date:** [September 10, 2024, 8:17pm UTC](https://discourse.psychopy.org/t/parallel-timelines/39560/3 "2024-09-10T20:17:12Z")

</div>

Hello!  
I was trying to do the same thing, make “two timelines” and I am confused by what you mean by set variable = 0 to skip the loop or 1 to include it.
