I'm making an animation and i want it to be like one of those 'do not press' things. The problem is that i can tell its first command to wait until its clicked but after that it wont say anything or will just say it without having to be clicked. does anyone know how to get it to say each individual thing separatley after being clicked each time?
Offline
I don't understand what you are trying to do.
If you can state clearly what you want to have happen, you are at least halfway to programming it.
Offline
Do you mean that you want the sprite to do (or say) something different each time it is clicked?
Try putting the following command:
waituntil [[touching? mouse-pointer] and [mouse-down?]]
between each thing you want your sprite to do.
Then, each time you click on the sprite, it will do the next thing.
Is that what you meant?
Mitch Resnick
MIT Scratch Team
Offline
I have made a 'Don't Press The Button' project. Maybe you could just look at the scripts for that.
Offline
Mitch,
You forgot to include a
wait until not mouse-down
in your instructions. If you omit that, one button press could run through several actions.
Offline