We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am using processing with the python module. Here is the code that when I press a key, it executes multiple times. Kinda of like when you hold a key down in a word document. I want it to only run once until I release the key. or https://gyazo.com/d57eb16ee6bf82fe8fbc79729446cb95
Answers
use the keyPressed() method rather than the keyPressed variable.
see the reference...