ID:1746496
 
(See the best response by Reformist.)
Code:


Problem description: So basically the title. Ive worked around my hot keys abilities to be single button presses, and so I now need a charge attack. So i want the power to increase while the button is held down. So if there was something like while(keyPressed) that would be greatly appreciated

or actually of there was something like while(curentKeyPressed) that would be even better
Best response
You can use macros to make a flag on a key press and undo the flag on a key release of the same key. Then while(flag).