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

#1 2010-11-02 13:04:30

melizzzah
New Scratcher
Registered: 2010-11-02
Posts: 3

mouse click action?

Hey everyone! i am completely NEW to this program. so please bare with me and my probably stupid question  smile 

question, i need for my sprite to do something when i click my mouse. i am using a laptop, i'm not sure if this is going to make a difference or not since I know NOTHING  smile  just thought i'd mention it  smile

i tried using an if block with the mouse down inside of it and nothing happens  sad 

any help would be greatly appreciated! thanks!

Offline

 

#2 2010-11-02 13:13:26

mathematics
Scratcher
Registered: 2009-03-01
Posts: 1000+

Re: mouse click action?

First of all, welcome to the Scratch Community!

You can do that with the following script:
[blocks]
<when green flag clicked>
<forever if> <mouse down?>
do something
<end>
[/blocks]

Last edited by mathematics (2010-11-02 13:15:48)

Offline

 

#3 2010-11-02 13:47:00

melizzzah
New Scratcher
Registered: 2010-11-02
Posts: 3

Re: mouse click action?

ahh thank you SO much! for the help and the welcome  smile

Offline

 

Board footer