Discuss Scratch

dbakos12
New to Scratch
2 posts

The letter keys aren't beig sensed by the key () pressed block but work everwhere else, whats happening?

My browser / operating system: Windows NT 10.0, Chrome 52.12743.116, Flash 28.0 (release 0)
I had written the simple code

if key a pressed
then
move -10 steps

when the key is pressed, nothing happens even when only that key is pressed. My keyboard is new as well and isn't faulty.

However, when I had another block of code with the space key being sensed it works fine.

Could someone please tell me what's happening and how to fix it.
-MrMystery-
Scratcher
3 posts

The letter keys aren't beig sensed by the key () pressed block but work everwhere else, whats happening?

I have that problem to
SpaceDragon1
New to Scratch
100+ posts

The letter keys aren't beig sensed by the key () pressed block but work everwhere else, whats happening?

Can you please share the project in which this is happening?
BY147258369
Scratcher
1000+ posts

The letter keys aren't beig sensed by the key () pressed block but work everwhere else, whats happening?

You probably need to put a forever block around it.

For instance,

when green flag clicked
forever
if <key [a v] pressed?> then
move (-10) steps
end
end

-MrMystery-
Scratcher
3 posts

The letter keys aren't beig sensed by the key () pressed block but work everwhere else, whats happening?

doesn't work
dbakos12
New to Scratch
2 posts

The letter keys aren't beig sensed by the key () pressed block but work everwhere else, whats happening?

I went back onto scratch and the problem magicly resolved itself, so thanks everyone who replied

Powered by DjangoBB

Standard | Mobile