# Timing a class to reveal words

**URL:** <https://discourse.processing.org/t/timing-a-class-to-reveal-words/6556>\
**Category:** Coding Questions\
**Created:** [December 12, 2018, 11:07pm UTC](https://discourse.processing.org/t/timing-a-class-to-reveal-words/6556 "2018-12-12T23:07:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamiehamill](https://avatars.discourse-cdn.com/v4/letter/j/a8b319/32.png) [@jamiehamill](https://discourse.processing.org/u/jamiehamill)\
**Post date:** [December 12, 2018, 11:07pm UTC](https://discourse.processing.org/t/timing-a-class-to-reveal-words/6556/1 "2018-12-12T23:07:28Z")

</div>

hey all! my question is likely to be super confusing as it’s difficult to explain and this is my first time using this forum, but I was wondering how I can time a class (that controls my text) to send out words slowly over time. I tried using a timing technique that is often used with animations, however each word flips by too fast to be able to read each one separately. To summarize, I have a class for the lyrics, however I’m having trouble controlling when each word is “spit out” across my canvas. Again, I’m sorry if this question is confusing as I am still learning a lot about p5.js, but at this point I’m open for any suggestions!

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [December 12, 2018, 11:47pm UTC](https://discourse.processing.org/t/timing-a-class-to-reveal-words/6556/2 "2018-12-12T23:47:22Z")

</div>

> **[Countdown Class](http://bl.ocks.org/GoSubRoutine/1a0d21828319cf18fecf44101764bd60)**
>
> GoSubRoutine’s Block 1a0d21828319cf18fecf44101764bd60

---

<div class="post-metadata">

**Author:** ![jamiehamill](https://avatars.discourse-cdn.com/v4/letter/j/a8b319/32.png) [@jamiehamill](https://discourse.processing.org/u/jamiehamill)\
**Post date:** [December 12, 2018, 11:48pm UTC](https://discourse.processing.org/t/timing-a-class-to-reveal-words/6556/3 "2018-12-12T23:48:55Z")

</div>

Thank you so much, I’ll see if this works!!!
