# How to create a simple timer?

**URL:** <https://discourse.processing.org/t/how-to-create-a-simple-timer/3901>\
**Category:** Coding Questions\
**Created:** [September 27, 2018, 1:52pm UTC](https://discourse.processing.org/t/how-to-create-a-simple-timer/3901 "2018-09-27T13:52:53Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [September 27, 2018, 4:03pm UTC](https://discourse.processing.org/t/how-to-create-a-simple-timer/3901/6 "2018-09-27T16:03:49Z")

</div>

> [@Array and object moving and not moving Coding Questions](https://discourse.processing.org/t/array-and-object-moving-and-not-moving-coding-questions/698/2):
>
> Here’s an example which displays a blue background() for 5 seconds, followed by a red background() for 2 seconds, relying on a class library I coded called “Countdown.java”: sunglasses[https://Forum.Processing.org/two/discussion/27733/countdown-class-library-for-java-js-python](https://Forum.Processing.org/two/discussion/27733/countdown-class-library-for-java-js-python) /\*\* \* Countdown Pause/Resume Example (v1.0) \* GoToLoop (2018/Jun/04) \* \* https://Discourse.Processing.org/t/ \* array-and-object-moving-and-not-moving-coding-questions/698/2 \*/ import gotoloop.countdown.Countdow…

---

_[View the full topic](https://discourse.processing.org/t/how-to-create-a-simple-timer/3901)._
