Discuss Scratch
- Discussion Forums
- » Questions about Scratch
- » What is the smallest amount of time you can put in the "wait" block?
- Kangaroo135
-
Scratcher
59 posts
What is the smallest amount of time you can put in the "wait" block?
I ask a lot of random questions. Here's another one!
What is the smallest amount of time you can put in the “wait” block?
This one:
What is the smallest amount of time you can put in the “wait” block?
This one:
wait () secs
- PrincessFlowerTV
-
Scratcher
1000+ posts
What is the smallest amount of time you can put in the "wait" block?
As far as I know:
wait (0.01) secs
- -Exphire-
-
Scratcher
1000+ posts
What is the smallest amount of time you can put in the "wait" block?
I once tried
wait (0.0000000000000000000000000000001) secsbut I think it just ran the same speed as
wait (0.01) secsEDIT: wrong number
Last edited by -Exphire- (July 31, 2020 14:31:53)
- RL1123
-
Scratcher
1000+ posts
What is the smallest amount of time you can put in the "wait" block?
It's
wait ((1) / (30)) secsBecause scratch runs at 30 FPS. Anything lower will automatically wait 0.03 seconds.
- j3r0_plays
-
Scratcher
100+ posts
What is the smallest amount of time you can put in the "wait" block?
As far as i know, sometimes you use
wait (0) secsin very fast scripts to allow the browser to catch up. Basically any script is a wait script of a some sort. 1/30 secs is basically the lowest in a wait script, as scratch is 30 fps.
- RL1123
-
Scratcher
1000+ posts
What is the smallest amount of time you can put in the "wait" block?
As far as i know, sometimes you useAs what I said.wait (0) secsin very fast scripts to allow the browser to catch up. Basically any script is a wait script of a some sort. 1/30 secs is basically the lowest in a wait script, as scratch is 30 fps.
- scratchykit5743
-
Scratcher
1000+ posts
What is the smallest amount of time you can put in the "wait" block?
i once put in a picosecond…
- RL1123
-
Scratcher
1000+ posts
What is the smallest amount of time you can put in the "wait" block?
i once put in a picosecond…Which waits for 0.03 seconds.
- HyperGamerStudios
-
Scratcher
100+ posts
What is the smallest amount of time you can put in the "wait" block?
Technically 0 is the smallest number and the highest number being unlimited
- Maximouse
-
Scratcher
1000+ posts
What is the smallest amount of time you can put in the "wait" block?
You can put in 0 and it waits 1 frame (1/30 seconds).
- dftyu
-
Scratcher
1000+ posts
What is the smallest amount of time you can put in the "wait" block?
As far as i know, sometimes you usedoes scratch not have fps optimizations?wait (0) secsin very fast scripts to allow the browser to catch up. Basically any script is a wait script of a some sort. 1/30 secs is basically the lowest in a wait script, as scratch is 30 fps.
- RL1123
-
Scratcher
1000+ posts
What is the smallest amount of time you can put in the "wait" block?
No.As far as i know, sometimes you usedoes scratch not have fps optimizations?wait (0) secsin very fast scripts to allow the browser to catch up. Basically any script is a wait script of a some sort. 1/30 secs is basically the lowest in a wait script, as scratch is 30 fps.
- fdreerf
-
Scratcher
1000+ posts
What is the smallest amount of time you can put in the "wait" block?
Well, technically, you can put whatever number you want in it, so really it's negative infinity.
- junaayd
-
Scratcher
70 posts
What is the smallest amount of time you can put in the "wait" block?
I once triedThat is because the wait block thinks that the extra 0s are the tiniest amounts of speed, so it runs faster than 0.01, report that bug on the “Report a Bug” section of the discussionwait (0.0000000000000000000000000000001) secsbut I think it just ran the same speed aswait (0.01) secsEDIT: wrong number
- fdreerf
-
Scratcher
1000+ posts
What is the smallest amount of time you can put in the "wait" block?
No, it is simply because Scratch (or basically any computer) cannot run that fast, so it can only wait the minimum time of a single frame.I once triedThat is because the wait block thinks that the extra 0s are the tiniest amounts of speed, so it runs faster than 0.01, report that bug on the “Report a Bug” section of the discussionwait (0.0000000000000000000000000000001) secsbut I think it just ran the same speed aswait (0.01) secsEDIT: wrong number
- j3r0_plays
-
Scratcher
100+ posts
What is the smallest amount of time you can put in the "wait" block?
Also, based on my knowledge, scratch is MEANT to be slow. Something like forkphorus is not slow.
- LankyBox01
-
Scratcher
1000+ posts
What is the smallest amount of time you can put in the "wait" block?
-∞
wait [-∞] secs
Last edited by LankyBox01 (Aug. 1, 2020 11:25:00)
- cloverCat156
-
Scratcher
100+ posts
What is the smallest amount of time you can put in the "wait" block?
I ask a lot of random questions. Here's another one!
What is the smallest amount of time you can put in the “wait” block?
This one:wait () secs
I think…
wait (0) secs
- LankyBox01
-
Scratcher
1000+ posts
What is the smallest amount of time you can put in the "wait" block?
-∞This is smaller than 0!wait [-∞] secs
- cloverCat156
-
Scratcher
100+ posts
What is the smallest amount of time you can put in the "wait" block?
-∞THIS IS IMPOSSIBLEwait [-∞] secs
Last edited by cloverCat156 (Aug. 2, 2020 11:23:28)
- Discussion Forums
- » Questions about Scratch
-
» What is the smallest amount of time you can put in the "wait" block?