How to incrementally add a value to a variable via the keys ?
in
Programming Questions
•
1 years ago
Hi, i want that when i press a key, the amount of pixels creating the line increases and stays increased, i mean that the effect stays after releasing the key.
right now it just increases the "i" in the if statement is increased while i press a key,when released it goes back to 1
1