Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » click coldown
- CrownIR1
- Scratcher
100+ posts
click coldown
when this sprite clickedhow do I make it detect when anything is clicked and make it wait for
(...)and then register it on the sprite
(...time)
The road to 1000 posts!My Siggy is too big! Highlight this text and do Ctrl+Shift+Down!
28% Complete!
283 ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ 1000
(Banner by: bugsky2009)
look at this little bugger! (by EmeraldCreeper789Dev)
Generation 9: the first time you see this copy and paste it on top of your signature in the scratch forums and increase generation by 1. Social experiment.
T-rex, the first time you see this add something to the text, without eradicating it. Gen 1
I'm fairly new to Scratch but I'm fairly good.
This is my Guard.
(-o)
(o^o)
- CrownIR1
- Scratcher
100+ posts
click coldown
when this sprite clickedhow do I make it detect when anything is clicked and make it wait for(...)and then register it on a sprite that a cursor sprite was touching after(...time)
edit: I don't have time to read wiki pages
I cant edit fsr
The road to 1000 posts!My Siggy is too big! Highlight this text and do Ctrl+Shift+Down!
28% Complete!
283 ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ 1000
(Banner by: bugsky2009)
look at this little bugger! (by EmeraldCreeper789Dev)
Generation 9: the first time you see this copy and paste it on top of your signature in the scratch forums and increase generation by 1. Social experiment.
T-rex, the first time you see this add something to the text, without eradicating it. Gen 1
I'm fairly new to Scratch but I'm fairly good.
This is my Guard.
(-o)
(o^o)
- AMcFad09
- Scratcher
22 posts
click coldown
ok so maybe try:when this sprite clickedhow do I make it detect when anything is clicked and make it wait for(...)and then register it on a sprite that a cursor sprite was touching after(...time)
edit: I don't have time to read wiki pages
I cant edit fsr
When Green flag clicked
forever
if touching mouse pointer and mouse down then
(whatever you want it to do)
wait (however long you want the cooldown to be) seconds
Fun fact: When you go to my account ( Here: https://scratch.mit.edu/users/AMcFad09/ ) when you press the blue button it goes grey/gray! try it!
Gen 1: When u see this put it on ur signature by going to discussion home, then scroll to bottom and press change my signature. once u did that change Gen by 1.
- EDGE_X
- Scratcher
100+ posts
click coldown
Here this helps out a ton!
Tell me if there are any problems with this script!
when this sprite clicked :: control
wait until <(cooldown) = [0]> :: events
broadcast [message1 v] and wait :: control
when I receive [message1 v]::control
set [cooldown v] to [5]
repeat [5] :: events
wait [1] secs :: events
change [cooldown v] by [-1]
when I receive [message1 v]::control
...
Tell me if there are any problems with this script!
Perfect Cell you are perfect! Be perfect, stay perfect, have a perfect life!Follow me here!
Helper of Scratch Forums. Most Active in Suggestions, Help with Scripts and Bugs And Glitches
when green flag clicked::control
wait until <<perfect? ::#6362e1> = [true]::operators>::events
be perfect! ::#782fea cap
My Kumquat Protectors{
-.-::#f00
'.'::#f90
o.o::#fc0
._.::#0f0
^.^::#00f
*~*::#d0f}::#999 hat
they protect my signature from evil kumquats!::#e4f166
good to have them!::#a277b1
oh hey you found the secret message in my signature.
do not click this
Well scratch changed the way that youtube videos function directly from Scratch so this trick doesn't work anymore.
- Discussion Forums
- » Help with Scripts
- » click coldown