# Get countdown value

**URL:** <https://forum.makecode.com/t/get-countdown-value/3903>\
**Category:** Help\
**Created:** [October 15, 2020, 7:59pm UTC](https://forum.makecode.com/t/get-countdown-value/3903 "2020-10-15T19:59:36Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![AlexK](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/alexk/32/33339_2.png) [@AlexK](https://forum.makecode.com/u/AlexK)\
**Post date:** [October 16, 2020, 1:14am UTC](https://forum.makecode.com/t/get-countdown-value/3903/6 "2020-10-16T01:14:24Z")

</div>

I did that very thing in my sample Maze Game. (Link to thread [here](https://forum.makecode.com/t/mazes-extension/290); scroll down to the Maze Game 2.0 Blocks game.) There isn’t a block that you can use to find the remaining time on the countdown clock, so I saved the current “game clock” to a variable when the countdown starts, and then I calculate the elapsed time at the end of the game.

---

_[View the full topic](https://forum.makecode.com/t/get-countdown-value/3903)._
