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

#1 2008-10-04 10:59:01

fishingman369
Scratcher
Registered: 2008-10-04
Posts: 2

<key[ ]pressed?> sensor

Hi all why isnt there a left mouse option on the <key[  ]pressed?> sensor It is extreamly annoying I have needed it for a few projects what to do?

Offline

 

#2 2008-10-04 21:22:11

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

Re: <key[ ]pressed?> sensor

This should be in All About Scratch.
Anyway...
There is a left mouse sensor, but it isn't in the <key[  ]pressed?> block. The sensor is    <mouse down?>. There's also <when[   ]clicked> if you want to start a script with it.

Last edited by hmnwilson (2008-10-04 21:40:17)


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

#3 2008-10-05 13:18:48

fishingman369
Scratcher
Registered: 2008-10-04
Posts: 2

Re: <key[ ]pressed?> sensor

Ye I know but ineed a when <mouse down?> on sprite 1

Offline

 

#4 2008-10-05 13:26:39

registeel
Scratcher
Registered: 2008-04-27
Posts: 500+

Re: <key[ ]pressed?> sensor

<if> << <touching[ sprite1 <and> <mouse down?> >>
<end>

Offline

 

#5 2008-10-05 18:44:38

bhz
Scratcher
Registered: 2008-07-06
Posts: 100+

Re: <key[ ]pressed?> sensor

registeel wrote:

<if> << <touching[ sprite1 <and> <mouse down?> >>
<end>

or <when[ sprite ]clicked>

Offline

 

#6 2008-10-05 19:33:57

dingdong
Scratcher
Registered: 2007-08-09
Posts: 1000+

Re: <key[ ]pressed?> sensor

bhz wrote:

registeel wrote:

<if> << <touching[ sprite1 <and> <mouse down?> >>
<end>

or <when[ sprite ]clicked>

never use that block! NEVER! it has a bug, if you click on a sprite and its hidden it can still be clicked on, also with the other one you can edit a lot more things


http://img851.imageshack.us/img851/2829/superanbanner.png
click the image for my music

Offline

 

Board footer