I'm trying to make an if statement that only starts when my variable hasn't changed for 20 seconds.
Does anybody now how I can accomplish this?
if (variable = 1) // && Doesn't change for 20 seconds.{//Action}else{//Action}
Aucun commentaire:
Enregistrer un commentaire