Time control question

if I want the character move when the player touch the screen three time within 2-3seconds, if the player can't touched three time within 2-3 second, the character won't move~how to use timer function to do this?
Comments