Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » this is sooo annoying!!!
- lovespuppies4ever
-
2 posts
this is sooo annoying!!!
I have seen this problem multiple times with the games I make, how do you get it so when the sprite is clicked TWICE it does something / when this message gets put into action, some scripts stop working… this problem is annoying so please help me.
- footsocktoe
-
1000+ posts
this is sooo annoying!!!
This will detect a second click within 1 second…
when this sprite clicked
if <(clickcount) = [0]> then
set [clickcount v] to [1]
wait (1) secs
set [clickcount v] to [0]
else
Do the code that applies when they doubleclick
end
Last edited by footsocktoe (Aug. 9, 2017 00:49:24)
SHOOT THE SPACE MONSTERS! ….. A game everyone can play! Bright colors, bonky sounds!
THE 12 BALLS OF CRAZY AL ……. New scrolling adventure game!
![](http://cdn2.scratch.mit.edu/get_image/project/114872457_40x30.png?v=1480629783.5)
![](http://cdn2.scratch.mit.edu/get_image/project/131940054_48x36.png?v=1480629783.5)
![](http://cdn2.scratch.mit.edu/get_image/project/165744146_60x45.png?v=1480629783.5)
![](http://cdn2.scratch.mit.edu/get_image/project/165490204_80x60.png?v=1480629783.5)
![](http://cdn2.scratch.mit.edu/get_image/project/84171322_100x80.png?v=1480629783.5)
![](http://cdn2.scratch.mit.edu/get_image/project/94044845_120x90.png?v=1480629783.5)
![](http://cdn2.scratch.mit.edu/get_image/project/169617648_132x99.png?v=1480629783.5)
- Discussion Forums
- » Help with Scripts
-
» this is sooo annoying!!!