# Countdown problem negative counting

**URL:** <https://community.thunkable.com/t/countdown-problem-negative-counting/596697>\
**Category:** Questions about Thunkable X\
**Created:** [June 6, 2020, 3:39am UTC](https://community.thunkable.com/t/countdown-problem-negative-counting/596697 "2020-06-06T03:39:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![taravat.mahavar83qr7](https://avatars.discourse-cdn.com/v4/letter/t/ad7895/32.png) [@taravat.mahavar83qr7](https://community.thunkable.com/u/taravat.mahavar83qr7)\
**Post date:** [June 6, 2020, 3:39am UTC](https://community.thunkable.com/t/countdown-problem-negative-counting/596697/1 "2020-06-06T03:39:43Z")

</div>

Hi I’m adding a countdown item to my app and I’ve two problems with that first is when it gets to zero it doesn’t stop and starting to count negative and second one is the same happens if you only enter seconds can someone please help me ASAP

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/a/8abf7fa7ce16e17469398d974be8d3eb6988ba78.jpeg) ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/4/449bd9f43bc0d69abc675d9002e7b3e8cb6db05f.jpeg) ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/f/3f55daccd811275518f58559139f13b9b29d0e87.jpeg)

---

<div class="post-metadata">

**Author:** ![sirfrancisdrake](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sirfrancisdrake/32/70212_2.png) [@sirfrancisdrake](https://community.thunkable.com/u/sirfrancisdrake)\
**Post date:** [June 6, 2020, 10:32am UTC](https://community.thunkable.com/t/countdown-problem-negative-counting/596697/2 "2020-06-06T10:32:43Z")

</div>

hi @taravat.mahavar83qr7 ,  
try this:  
if (countdown\>0) then decrease and print it  
elseif (countdown=0) iscounting=true timer1 enabled=true

as much asap as i can

---

<div class="post-metadata">

**Author:** ![taravat.mahavar83qr7](https://avatars.discourse-cdn.com/v4/letter/t/ad7895/32.png) [@taravat.mahavar83qr7](https://community.thunkable.com/u/taravat.mahavar83qr7)\
**Post date:** [June 6, 2020, 8:37pm UTC](https://community.thunkable.com/t/countdown-problem-negative-counting/596697/3 "2020-06-06T20:37:20Z")

</div>

Thank you so much it’s my school project but still when you only put seconds it doesn’t count

---

<div class="post-metadata">

**Author:** ![sirfrancisdrake](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sirfrancisdrake/32/70212_2.png) [@sirfrancisdrake](https://community.thunkable.com/u/sirfrancisdrake)\
**Post date:** [June 7, 2020, 8:48am UTC](https://community.thunkable.com/t/countdown-problem-negative-counting/596697/4 "2020-06-07T08:48:06Z")

</div>

compose the timer block (when timer1 fires) with:

if (countdown\<=0)  
iscounting=false  
timer=disabled  
set text to 00:00  
else  
set text to (the block that print the countdown…)

change countdown by -1

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:28am UTC](https://community.thunkable.com/t/countdown-problem-negative-counting/596697/5 "2024-11-08T11:28:04Z")

</div>


