Discuss Scratch

funny_sandwich
Scratcher
3 posts

how can i make something that detects when a timer hits a specific number

ive been trying to do “if timer=” and “wait until timer =” but none of them worked, i also tried a variable clock and that didnt work either, is there a better way to do this without making the timer count by .5?
SnowyRiver1643
Scratcher
100+ posts

how can i make something that detects when a timer hits a specific number

Does if timer = not work?
What about use a forever script? like:
forever
if <<(timer) = [number]> or <(timer) > [number]>> then
(do something)
end
end
deck26
Scratcher
1000+ posts

how can i make something that detects when a timer hits a specific number

Never expect the built-in timer to match an exact value since the chances of it doing so are tiny. Use the greater than block to see if you've exceeded the target time.
Jlerpy
Scratcher
1000+ posts

how can i make something that detects when a timer hits a specific number

funny_sandwich wrote:

ive been trying to do “if timer=” and “wait until timer =” but none of them worked, i also tried a variable clock and that didnt work either, is there a better way to do this without making the timer count by .5?

How are they going wrong?

Powered by DjangoBB