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

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

How can I change key to leftArrow or SpaceBar?

Replace the “A” with some other key

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

I think there’s some other name for that.

I believe it’s called, “VK_LEFT”.

VK_LEFT is not working…

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