how to limit received touch on screen?

I am wondering how can I limit the received touch from player.
Like the button can't be pressed more than 2 times.
How can i limit it to only able to be pressed 1 and 2 times?

Comments

Sign In or Register to comment.