To get input, you need to call getKeys(). To use getKeys properly you must use it like so:
getKeys()
getKeys
if (getKeys(["w", "ArrowUp"])) { // your code here. }
Or for one key:
if (getKeys(["w"])) { // your code here. }
There was an error while loading. Please reload this page.