0

Create a timer ?

spoo.sangal 2 years ago updated by Rudolph Thomas 2 years ago 3

i want to create a timer that can tell me for how long i have pressed down a key and then triggers next key input after a set amount has passed. Can someone please help me ? like if i keep holding space bar for more than 5 seconds it automatically stops taking input from spacebar and move to next sequence

Bolt Version:
1.4.6f3
Unity Version:
2019.2.17f1
Platform(s):
Windows
Scripting Backend:
IL2CPP
.NET Version (API Compatibility Level):
.NET 4.x
+1

Have you tried using the "Wait for Seconds" unit?

Right-click
Click "Time"
Click "Wait For Seconds"

+1

Try the cooldown unit.