Discuss Scratch
- Discussion Forums
- » Suggestions
- » Start/Stop Timer Block.
- wayyyy
-
Scratcher
500+ posts
Start/Stop Timer Block.
Start/Stop Timer Block.
Right now, you can't stop the timer, you can only reset it, so I'd like to introduce these new blocks to stop the timer and start it.
It can be used to figure out how much a key was pressed for example.
*The timer still starts automatically so you would have to stop it first.
It you would like to see this please Support.
[stop v] timer ::sensing
[start v] timer ::sensing
Right now, you can't stop the timer, you can only reset it, so I'd like to introduce these new blocks to stop the timer and start it.
It can be used to figure out how much a key was pressed for example.
when green flag clicked
[stop v] timer ::sensing
wait until <key [space v] pressed?>
[start v] timer ::sensing
wait until <not <key [space v] pressed?>>
[stop v] timer ::sensing
say (join (join [You pressed the space bar down for ] (timer)) [ seconds.])
*The timer still starts automatically so you would have to stop it first.
It you would like to see this please Support.

- iamunknown2
-
Scratcher
1000+ posts
Start/Stop Timer Block.
Pretty sure that it's a duplicate of a suggestion here.
- iamunknown2
-
Scratcher
1000+ posts
Start/Stop Timer Block.
supportThere's a workaround…
forever
if <(pause) = [0]>
change [timer v] by [0.01]
wait (0.01) secs
end
end
Last edited by iamunknown2 (July 2, 2015 00:12:45)
- wayyyy
-
Scratcher
500+ posts
Start/Stop Timer Block.
There's a slight delay when using scratch blocks so it's not really good and it's not very useful because it's not doing anything.supportThere's a workaround…forever
if <(pause) = [0]>
change [timer v] by [0.01]
wait (0.01) secs
end
end
- iamunknown2
-
Scratcher
1000+ posts
Start/Stop Timer Block.
But still a duplicate. Start/Stop timer block was the topic as well.Pretty sure that it's a duplicate of a suggestion here.Never saw that one before. D:
But it's pretty vague still.
- iamunknown2
-
Scratcher
1000+ posts
Start/Stop Timer Block.
BWAHAHAHAHABe quiet, you're starting a flame war.But still a duplicate. Start/Stop timer block was the topic as well.Pretty sure that it's a duplicate of a suggestion here.Never saw that one before. D:
But it's pretty vague still.
- The_Scratch_Squad
-
Scratcher
1000+ posts
Start/Stop Timer Block.
Support.
Not to start a fire, but we really should post in the duplicate version and BUMP it up…
Not to start a fire, but we really should post in the duplicate version and BUMP it up…
- Botcho_Otkho
-
Scratcher
1000+ posts
Start/Stop Timer Block.
Hey there! Welcome to the forums! Please, the next time you post, check if the post adds something to the discussion, which is not in this case. Thanks!stuff dude
- Za-Chary
-
Scratcher
1000+ posts
Start/Stop Timer Block.
It looks like this is a duplicate topic of this one over here, so I’ll close this thread to keep the conversation all in one place.
Feel free to continue the discussion in the link provided above.
Feel free to continue the discussion in the link provided above.
- Discussion Forums
- » Suggestions
-
» Start/Stop Timer Block.
