you could put an IF statement say
if(x!=2){
x=2
...rest of your code...
}
on the onKeyDown() function, then have an onKeyUp() function that resets the variable to 1. that work?
Prophet.
you could put an IF statement say
if(x!=2){
x=2
...rest of your code...
}
on the onKeyDown() function, then have an onKeyUp() function that resets the variable to 1. that work?
Prophet.
:: Copyright KIRUPA 2024 //--