Numeric keypad won´t work on mBlock (3.2.2)


#1

Hi, some days ago I updated my mBlock to 3.2.2 and the numeric keypad of my keyboard stoped working.

for example, if i put, “when a key pressed” “move 10 steps” it works. But if I change “a” for “2” it only will move if y use the keys I have above the letters but not the numeric keypad.

I don´t know if this is because the update or is becase of my computer. If someone has had the same problem or know how it can be solved, i´ll apreciate it.

The numeric keypad works perfectly in any other things and the bloq num key is working.

thanks for your help!


#2

Did you upgrade the firmware? My experience is that when I update to a new version of mBlock, I need to upgrade the firmware and I usually load the default program for good measure.


#3

Yes, I have tried both ways, upgrading the firmware and the default program too and it doesn´t work.


#4

Just to be clear here, is this your line of code?


#5

yes, in my case, the panda should move but it doesnt work.


#6

That’s odd. Is the code in the Panda sprite, not in the Stage?


#7

yes, it works when I use the number 2 I have above the letters q and w but not when i use the numeric keypad.


#8

If you have full standard keyboard then check your keyboard NumLock key status.
If it’s active then numpad keys act like numbers otherwise they act like arrows,home,pgup,end,pgdn.


#9

yes, I have checked the numlock key status. I think it will be my laptop. I try the same code on scratch 2 and it works perfectly. thanks for all your help!!! if someones know how I can fix this, reply this thanks.


#10

Now i tried it and yes, you’re right.
The numpad is not working the way you’re using in project.
Doesnt matter what state the numlock key has.
It’s probably mBlock bug.