Putting time limit for data entry in google sheets linked cells

hi i have an app and every time user clicks on buttons Adding 1 number to google sheets cell. Can we add a timer so that the user does not click repeatedly?
that is, after the first click, for example, before 30 seco



nds are over, I accept the click.

This may give you an idea.