Discuss Scratch

Lightstar670
Scratcher
28 posts

How do I use the arrow keys to make a sprite move?

I've tried but no help. Please help
DerAxeEffekt
Scratcher
100+ posts

How do I use the arrow keys to make a sprite move?

whenclickedforeverifkeyany key you wantpressedthenpointindirectionany directionmoveany speedstepsrepeat for all arrow keys
Lightstar670
Scratcher
28 posts

How do I use the arrow keys to make a sprite move?

Thanks! But the sprite goes upside down moving up when I do that with up arrow. and with left arrow, the sprite turns upside down too. Is there a way to fix that?

Last edited by Lightstar670 (April 17, 2014 14:19:54)

Greatguy123
Scratcher
500+ posts

How do I use the arrow keys to make a sprite move?

When the sprite is selected, click the little “i” next to it. Then click the <–> next to rotation style.

EDIT: Or you can just you this block:
setrotationstyleleft-right

Last edited by Greatguy123 (April 17, 2014 15:38:53)

cls01
Scratcher
12 posts

How do I use the arrow keys to make a sprite move?

I was wondering about the same thing, so thanks for posting this comments! I am making a maze and if you touch the edges you have to start from the begin!

Check it out (IT IS WORKING-IN-PROGRESS)

Lightstar670
Scratcher
28 posts

How do I use the arrow keys to make a sprite move?

cls01 wrote:

I was wondering about the same thing, so thanks for posting this comments! I am making a maze and if you touch the edges you have to start from the begin!

Check it out (IT IS WORKING-IN-PROGRESS)


When it's ready, can I see it?
SWGS2014
New Scratcher
1 post

How do I use the arrow keys to make a sprite move?

whenclickedforeverifkeypressed?thenpointindirectionmovesteps
WolfT
Scratcher
84 posts

How do I use the arrow keys to make a sprite move?

i was wondering, but thank you everyone!
Braeden5454
Scratcher
500+ posts

How do I use the arrow keys to make a sprite move?

cls01 wrote:

I was wondering about the same thing, so thanks for posting this comments! I am making a maze and if you touch the edges you have to start from the begin!

Check it out (IT IS WORKING-IN-PROGRESS)

This is a post, not a comment.
bestsmartypants
Scratcher
42 posts

How do I use the arrow keys to make a sprite move?

DerAxeEffekt wrote:

whenclickedforeverifkeyany key you wantpressedthenpointindirectionany directionmoveany speedstepsrepeat for all arrow keys
gtar1
Scratcher
100+ posts

How do I use the arrow keys to make a sprite move?

Lightstar670 wrote:

I've tried but no help. Please help
Click the i on the sprite and click the arrows that are pointing right and left.
luckystar0794
Scratcher
12 posts

How do I use the arrow keys to make a sprite move?

thisisanotherwaywhen whateverkeypressed/s[scratchblockscratchblocks]pointindirectionwhatevermovewhateversteps/scratchblocks
doodlebob2
Scratcher
100+ posts

How do I use the arrow keys to make a sprite move?

Try this instead it is much easyier
whenclickedforeverifkeyUp arrowpressed?thenchangeyby5ifkeyDown arrowpressed?thenchangeyby-5ifkeyRight arrowpressed?thenchangexby5ifkeyLeft arrowpressed?thenchangexby-5
Backpack it and you will have it forever

Last edited by doodlebob2 (Feb. 17, 2015 14:56:16)

lilly99207
Scratcher
31 posts

How do I use the arrow keys to make a sprite move?

Maybe this works:
whenupkeypressedpointindirection90move...stepswhendownkeypressedpointindirection-90move...steps

and so on.
jadeiscool
New Scratcher
1 post

How do I use the arrow keys to make a sprite move?

How do I make a sprite move without using the arrow keys
MEWHATCHET
Scratcher
2 posts

How do I use the arrow keys to make a sprite move?

Check out some of my projects, i'm planning to use this in one of my projects.
SparkleBacon
Scratcher
1 post

How do I use the arrow keys to make a sprite move?

what if you want to change costume and THEN move
CreeperDudeEX
Scratcher
42 posts

How do I use the arrow keys to make a sprite move?

Actually you can CHANGE THE ROTATION OPTION so like it only turns left or right but not upside down or does not rotate at all but moves up and down and you can CHANGE THE DIRECTIONS. for example
whenclickedforeverifkeyWATEVER YA CHOSEpressed?thenchangexbyWHATEVERYOUWANT

but have multiple of that in one script its VERY basic
Shaffergirl32
Scratcher
1 post

How do I use the arrow keys to make a sprite move?

Thanks!
AlekaVedula
New Scratcher
2 posts

How do I use the arrow keys to make a sprite move?

ALL THAT HELPS!!!!!!

Powered by DjangoBB