This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-02-25 20:53:51

Qaze
Scratcher
Registered: 2010-10-02
Posts: 56

When sprite clicked...?

Is there a " if sprite clicked" block that let's you put inside a script instead of starting a script. I can't find any.


http://i.imgur.com/2i8VY.gif

Offline

 

#2 2011-02-25 22:30:52

kingofdallamas
Scratcher
Registered: 2010-03-07
Posts: 500+

Re: When sprite clicked...?

No, there is no such, but you can make the sprite that was clicked to broadcast __, and then...

[blocks]<when I receive[ __][/blocks]
The main sprite will then follow the scripting inside the receive.

Last edited by kingofdallamas (2011-02-25 22:34:20)


http://i853.photobucket.com/albums/ab99/Gilgamesh1192/Ninja%20Saga/ElementalJutsus2.gifhttp://i27.photobucket.com/albums/c192/BoomKaTish/GIF/thgfhgfhfhgf.gif
ハロー友だち!

Offline

 

#3 2011-02-26 07:31:22

TheSaint
Scratcher
Registered: 2008-11-04
Posts: 1000+

Re: When sprite clicked...?

Or you can use [If (Mouse Down) and (Touching Mouse)] which basically does the same thing as clicked.

Offline

 

#4 2011-02-26 12:19:14

colorfusion
Scratcher
Registered: 2009-10-03
Posts: 500+

Re: When sprite clicked...?

No, but your can use <<touching mouse< and <mouse down>>

Offline

 

Board footer