Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » this is sooo annoying!!!
- lovespuppies4ever
- Scratcher
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
- Scratcher
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!
- Discussion Forums
- » Help with Scripts
- » this is sooo annoying!!!