return the key press status of the specified action
user defined corresponding action
true if pressed
if (me.input.isKeyPressed('left')) { //do something}else if (me.input.isKeyPressed('right')) { //do something else...} Copy
if (me.input.isKeyPressed('left')) { //do something}else if (me.input.isKeyPressed('right')) { //do something else...}
return the key press status of the specified action