In my previous post, "Need some help with user interaction." (http://scratch.mit.edu/forums/viewtopic.php?id=78315), I explained how I was doing a project, and I had one sprite moving around randomly, and I wanted to be able to click that sprite, and have another sprite appear and move, and thanks to MoreGamesNow for giving me the answer, but now I need to know how to stop the first sprite from moving when you click it.
Offline
Hm...not knowing how MoreGamesNow first solved it...
When flag clicked
forever
point in direction (pick random 0 to 360)
set [magnitude] to (pick random 0 to 200)
repeat (20)
move (magnitude/20)
if [touching mouse-pointer] and [mouse down?]
broadcast [show]
stop script
end if
end repeat
end forever
Offline
voop556 wrote:
In my previous post, "Need some help with user interaction." (http://scratch.mit.edu/forums/viewtopic.php?id=78315), I explained how I was doing a project, and I had one sprite moving around randomly, and I wanted to be able to click that sprite, and have another sprite appear and move, and thanks to MoreGamesNow for giving me the answer, but now I need to know how to stop the first sprite from moving when you click it.
I'VE GOT IT! I'm going to make a project showing you then give you the link, just a sec.

Offline
fungirl123 wrote:
voop556 wrote:
In my previous post, "Need some help with user interaction." (http://scratch.mit.edu/forums/viewtopic.php?id=78315), I explained how I was doing a project, and I had one sprite moving around randomly, and I wanted to be able to click that sprite, and have another sprite appear and move, and thanks to MoreGamesNow for giving me the answer, but now I need to know how to stop the first sprite from moving when you click it.
I'VE GOT IT! I'm going to make a project showing you then give you the link, just a sec.
Here it is! Hope this helps! http://scratch.mit.edu/projects/fungirl123/2105833

Offline