We are about to switch to a new forum software. Until then we have removed the registration on this forum.
How can I do in P5.js that if I press up key the object will goes in up direction but when I release that key it will comes in down direction?
Answers
https://p5js.org/reference/#/p5/keyIsDown