Hi,
the following bit of my script I would like to activate only when a key is pressed and hold. I would like to deactivate it as soon as the key is released. How can I do this?
Thanks,
// (it is located at the end of void draw section)
float[][] temp = previous;//ripple. if disables, only creates static pixels
previous = current;
current = temp;