# Small count-up timer extension

**URL:** <https://forum.makecode.com/t/small-count-up-timer-extension/6786>\
**Category:** Arcade\
**Tags:** extension\
**Created:** [March 15, 2021, 4:25pm UTC](https://forum.makecode.com/t/small-count-up-timer-extension/6786 "2021-03-15T16:25:27Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![shakao](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/shakao/32/113_2.png) [@shakao](https://forum.makecode.com/u/shakao)\
**Post date:** [March 15, 2021, 4:25pm UTC](https://forum.makecode.com/t/small-count-up-timer-extension/6786/1 "2021-03-15T16:25:28Z")

</div>

Hey all! I made an extremely lightweight extension for my own convenience which adds a timer that counts up. Figured I’d link it here in case it’s useful: [https://github.com/shakao/pxt-countup](https://github.com/shakao/pxt-countup)

It adds the following (hopefully mostly self-explanatory!) blocks to the Info category:

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/3/367c15ea8bfc6ba507415b7f6a121875d1d0846c.png)

Demo:

> **[countup-demo](https://arcade.makecode.com/48048-78498-38407-75985)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![purna079](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/purna079/32/4018_2.png) [@purna079](https://forum.makecode.com/u/purna079)\
**Post date:** [March 15, 2021, 5:27pm UTC](https://forum.makecode.com/t/small-count-up-timer-extension/6786/2 "2021-03-15T17:27:21Z")

</div>

niiiiiiiiiice!

---

<div class="post-metadata">

**Author:** ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)\
**Post date:** [March 15, 2021, 6:48pm UTC](https://forum.makecode.com/t/small-count-up-timer-extension/6786/3 "2021-03-15T18:48:22Z")

</div>

Is there an unpause timer? bx here is a pause but no unpause

---

<div class="post-metadata">

**Author:** ![frank\_schmidt](https://avatars.discourse-cdn.com/v4/letter/f/7993a0/32.png) [@frank\_schmidt](https://forum.makecode.com/u/frank_schmidt)\
**Post date:** [March 15, 2021, 7:18pm UTC](https://forum.makecode.com/t/small-count-up-timer-extension/6786/4 "2021-03-15T19:18:35Z")

</div>

I see that we can use this up-timer for our space launch stories in Arcade regarding our Fantasy Starship Factory. We can use countdown to launch and then switch over to count up. We will then be able to correlate fuel consumption as a percent remaining against time and altitude. Thanx, @shakao

---

<div class="post-metadata">

**Author:** ![shakao](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/shakao/32/113_2.png) [@shakao](https://forum.makecode.com/u/shakao)\
**Post date:** [March 15, 2021, 10:34pm UTC](https://forum.makecode.com/t/small-count-up-timer-extension/6786/5 "2021-03-15T22:34:32Z")

</div>

@frank_schmidt Haha, glad to hear it’ll be useful!

@DahbixLP Oh, you can call “start countup” again to unpause it! Hmm, maybe I should adjust the blocks, I was trying to keep it to as few blocks as possible but I can see how this is a bit confusing.

---

<div class="post-metadata">

**Author:** ![brandodon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/brandodon/32/3625_2.png) [@brandodon](https://forum.makecode.com/u/brandodon)\
**Post date:** [March 17, 2021, 10:21pm UTC](https://forum.makecode.com/t/small-count-up-timer-extension/6786/6 "2021-03-17T22:21:57Z")

</div>

This is awesome! I have a suggestion, when you go over a minute long or something like that, if you display the number of seconds elapsed, you should make it minutes elapsed, and change the block name to ‘time elapsed’ but that’s just a suggestion as this extension is great as it is!

---

<div class="post-metadata">

**Author:** ![shakao](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/shakao/32/113_2.png) [@shakao](https://forum.makecode.com/u/shakao)\
**Post date:** [March 18, 2021, 3:49pm UTC](https://forum.makecode.com/t/small-count-up-timer-extension/6786/7 "2021-03-18T15:49:20Z")

</div>

Oh yeah, good note! I guess it could be a block that has “time elapsed in [dropdown]” and then you could choose whether to get the time in milliseconds, seconds, or minutes. I’ll see if I can do some adjustments!

---

<div class="post-metadata">

**Author:** ![Josef](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/josef/32/12457_2.png) [@Josef](https://forum.makecode.com/u/Josef)\
**Post date:** [June 29, 2024, 3:48pm UTC](https://forum.makecode.com/t/small-count-up-timer-extension/6786/8 "2024-06-29T15:48:27Z")

</div>

is there a way to style it
