Countdown problem negative counting

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

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

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

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

1 Like