How to Prevent Double-Clicking?
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!
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