# Sequence of actions from array

**URL:** <https://discourse.processing.org/t/sequence-of-actions-from-array/22480>\
**Category:** Coding Questions\
**Created:** [July 8, 2020, 4:51pm UTC](https://discourse.processing.org/t/sequence-of-actions-from-array/22480 "2020-07-08T16:51:52Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [July 8, 2020, 5:45pm UTC](https://discourse.processing.org/t/sequence-of-actions-from-array/22480/4 "2020-07-08T17:45:32Z")

</div>

Hello,

Here is an example using frameCount and case statements:  
[https://discourse.processing.org/t/animation-that-transitions-using-framecount/15378](https://discourse.processing.org/t/animation-that-transitions-using-framecount/15378)

[https://processing.org/reference/case.html](https://processing.org/reference/case.html)  
[https://processing.org/reference/switch.html](https://processing.org/reference/switch.html)  
[https://processing.org/reference/draw\_.html](https://processing.org/reference/draw_.html)  
[https://processing.org/reference/frameRate\_.html](https://processing.org/reference/frameRate_.html)  
[https://processing.org/reference/frameCount.html](https://processing.org/reference/frameCount.html)

`:)`

---

_[View the full topic](https://discourse.processing.org/t/sequence-of-actions-from-array/22480)._
