vsync sets the speed of your program, i would do something like if you hold the button then inc a value that would mean 1 second of holding like: IF BUTTON(0) AND #A THEN INC CHARGE,1 IF CHARGE>250 AND CHARGE<350 THEN (what you want it to do) IF CHARGE >351 THEN CHARGE=0 ENDIF Sonething like that i think