How to change key in game.onInput to left arrow?


#1

game.onInput(“A”, handler.moveLeft(“glacier-platform”))

How can I change key to leftArrow or SpaceBar?


#3

Replace the “A” with some other key


#4

game.onInput(“leftArrow”, handler.moveLeft(“glacier-platform”)) don`t work …


#5

I think there’s some other name for that.


#6

I believe it’s called, “VK_LEFT”.


#7

VK_LEFT is not working…

št 29. 11. 2018 o 12:27 MunkeyShynes codecombat@discoursemail.com napísal(a):