I have a problem about how to continuously scale, for example, if I press 'c', it will continuously magnify then if I release 'c', it will stop the process.
I tried a while loop in KeyPressed function but the while loop just repeat ignoring the key release. How to do it?



