# Select next/previous of a sequence of flows

**URL:** <https://community.homey.app/t/select-next-previous-of-a-sequence-of-flows/53132>\
**Category:** Questions & Help\
**Created:** [October 14, 2021, 11:24am UTC](https://community.homey.app/t/select-next-previous-of-a-sequence-of-flows/53132 "2021-10-14T11:24:42Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [October 14, 2021, 3:17pm UTC](https://community.homey.app/t/select-next-previous-of-a-sequence-of-flows/53132/4 "2021-10-14T15:17:10Z")

</div>

Like Adrian suggested, the [H.O.O.P. flow programmer](https://community.homey.app/t/h-o-o-p-hope-homey-object-oriented-programming/43709) can do this in one flow (okay, I needed 2), but idk if things get more clear/organized.  
Here’s an example, to dim a light to low, middle, high and off, by pushing the same knob, in a sequence loop. That’s like switching to the next scene in your situation.  
Maybe this is what you’re looking for.

While the text on some cards runs out of space, here’s a screenshot of the ‘and’ section of flow1:

 ![Screenshot_20211014-172637_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/d/cd47f5394c4ec6eef57c08ac0b98488ec7f9698c.jpeg)

---

_[View the full topic](https://community.homey.app/t/select-next-previous-of-a-sequence-of-flows/53132)._
