# Begin a shape according to time

**URL:** <https://discourse.processing.org/t/begin-a-shape-according-to-time/5970>\
**Category:** Coding Questions\
**Created:** [November 26, 2018, 7:23pm UTC](https://discourse.processing.org/t/begin-a-shape-according-to-time/5970 "2018-11-26T19:23:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chloe65](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@Chloe65](https://discourse.processing.org/u/Chloe65)\
**Post date:** [November 26, 2018, 7:23pm UTC](https://discourse.processing.org/t/begin-a-shape-according-to-time/5970/1 "2018-11-26T19:23:20Z")

</div>

Hi everyone !  
I am making an animation and I would like to start a shape a few seconds after launching my animation, but I don’t know if it is possible. I looked on forums, lessons, examples but I didn’t find anything… If anyone has a solution, I would be very grateful 🙂

---

<div class="post-metadata">

**Author:** ![TfGuy44](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tfguy44/32/41_2.png) [@TfGuy44](https://discourse.processing.org/u/TfGuy44)\
**Post date:** [November 26, 2018, 7:44pm UTC](https://discourse.processing.org/t/begin-a-shape-according-to-time/5970/2 "2018-11-26T19:44:25Z")

</div>

```auto
boolean shape_made;
void draw(){
  if( !shape_made && millis() > 3000 ){
    shape_made = true;
    make_shape();
  }
  // ...
}

```

---

<div class="post-metadata">

**Author:** ![Chloe65](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@Chloe65](https://discourse.processing.org/u/Chloe65)\
**Post date:** [November 27, 2018, 11:28pm UTC](https://discourse.processing.org/t/begin-a-shape-according-to-time/5970/3 "2018-11-27T23:28:25Z")

</div>

Thanks so much !!😄
