Timer going Back and Forth

When I press the Left key, I want the timer to go backward (5,4,3,2,1) and when I press the Right key, I want the timer to go forwards (1,2,3,4,5). If there is no way to do this, is there an alternative that achieves the same results? Thanks in advance!

Maybe you can do like:
If timer is greater than 1 second

In the sub event of that condition:
Is pressing key “left”
Change the variable “count” -1
Reset timer

In another sub event of that condition:
Is pressing key “right”
Change the variable “count”+1
Reset timer

And then you can use variable instead of timer

Is there a way to increase a variable with time? (1 second: Variable = 1, 2 seconds: Variable = 2)

I don’t think there is

There may be:
Change the value of variable = (just write “timer” and you will see a parameter)


I tried this, but it doesn’t work, Is there another way?

This is not how you do it,
I said:

And that parameter is:
theprmisths
Unfortunately, this doesn’t work with backward timer.

1 Like

You can set the variable to round(TimerElapsedTime(timerName)).
If you want to count backwards from 5, you set the variable to 5 - round(TimerElapsedTime(timerName)).