Discuss Scratch

REYZ_G4MX
Scratcher
10 posts

why does a set timer and change timer block do not exist?

why does a set timer and change timer block do not exist?
Vaibhs11
Scratcher
1000+ posts

why does a set timer and change timer block do not exist?

Because the timer is supposed to be a global tracker of time respective to the start of the project, it kind of defeats its purpose if you can change it.

If you want such a feature, you could do something like:

when green flag clicked
forever
set [my timer v] to ((timer) + (change))
end

change [change v] by () // change timer by ...

set [change v] to (((timer) * (-1)) + (...)) // set timer to ...

Last edited by Vaibhs11 (Today 07:42:38)

REYZ_G4MX
Scratcher
10 posts

why does a set timer and change timer block do not exist?

Vaibhs11 wrote:

Because the timer is supposed to be a global tracker of time respective to the start of the project, it kind of defeats its purpose if you can change it.

If you want such a feature, you could do something like:

when green flag clicked
forever
set [my timer v] to ((timer) + (change))
end

change [change v] by () // change timer by ...

set [change v] to (((timer) * (-1)) + (...)) // set timer to ...
ohhhhh ok

Powered by DjangoBB