Discuss Scratch
- Discussion Forums
- » Suggestions
- » "wait for ( ) seconds or until <>" block
- XnneoScratch
-
Scratcher
3 posts
"wait for ( ) seconds or until <>" block
it pretty much self-explainatory. this block would be really useful for a multitude of reasons.
wait () seconds or until <>
- Malicondi
-
Scratcher
1000+ posts
"wait for ( ) seconds or until <>" block
it pretty much self-explainatory. this block would be really useful for a multitude of reasons.workaround thats not really hard to dowait () seconds or until <>
reset timerkinda long but still possible
repeat until <<(time) > (your length)> or <your condition here ::sensing>>
set [time v] to (timer ::sensing)
end
Last edited by Malicondi (Feb. 17, 2024 00:37:44)
- among_us1w2
-
Scratcher
1000+ posts
"wait for ( ) seconds or until <>" block
if you were already using timer just useit pretty much self-explainatory. this block would be really useful for a multitude of reasons.workaround thats not really hard to dowait () seconds or until <>reset timerkinda long but still possible
repeat until <<(time) > (your length)> or <your condition here ::sensing>>
set [time v] to (timer ::sensing)
end
set [timer v] to [0]and in a seperate
when green flag clickedso no support
forever
wait (0.01) secs
change [timer v] by [0.01]end
- 0penCode
-
Scratcher
7 posts
"wait for ( ) seconds or until <>" block
wait until <(desired time) < (timer)>
This is an easy and efficient way to perform the script you asked, a clean line.
Last edited by 0penCode (Feb. 17, 2024 04:09:56)
- Aaliyah_Newlands
-
Scratcher
500+ posts
"wait for ( ) seconds or until <>" block
it pretty much self-explainatory. this block would be really useful for a multitude of reasons.It is simple, but there is an alternative to create the same code. It's longer but it still existswait () seconds or until <>
making a block like this would mean people would have less of a real challenge to crate the same code with a different look.- Discussion Forums
- » Suggestions
-
» "wait for ( ) seconds or until <>" block