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

#1 2008-10-23 00:22:53

shaloni_naik
Scratcher
Registered: 2008-10-23
Posts: 1

i need some help please

can anyone tell me how to make an action happen when the arrow key is pressed?

thank you

Offline

 

#2 2008-10-23 00:32:45

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

Re: i need some help please

Two ways-
<when[ select from menu ]key pressed>
[/blocks] This is the simplest one, you just select a key (including arrow keys) from the selection menu and put blocks under it.

But I prefer this way:
<when green flag clicked>
<forever if><key[ select from menu ]pressed?>
*actions*
<end>
It's more complicated, but it runs smoother so I use that way.

Last edited by hmnwilson (2008-10-23 00:33:05)


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

 

Board footer