How to Prevent Double-Clicking?

DigitalDianaDigitalDiana Member Posts: 34
edited January 2012 in Working with GS (Mac)
Hello!

I was wondering how I would prevent a player from double-clicking on an actor. Basically, I want it to be so when the player clicks on the actor, the player will not be able to click again for at least 5 seconds and then be allowed to click again.

Ex.
Player clicks once.
5 seconds pass.
Player clicks again.
5 seconds pass.
Player clicks again.
And so on...

How do I make the player wait the 5 seconds before being able to click the actor again?
Please help.
Thanks!

Comments

Sign In or Register to comment.