Timer
A property type for an upward-counting stopwatch.
The Timer property type acts like a stopwatch, counting time upwards in milliseconds. It can be started, stopped, and reset.
- Default Value:
0(stopped)
Common Use Cases
- Tracking how long a player takes to complete a parkour course.
- A "hot potato" game where the timer increases for the player holding the potato.
- Measuring the duration of a round or match.
Operators (in Change Property action)
- Start: Starts the timer. If it was already running, it continues from its current time.
- Stop: Pauses the timer at its current time.
- Reset: Stops the timer and resets its value to
0.
Checks (in Property Condition)
- Equals / Greater Than / Less Than: Compares the timer's current elapsed time (in milliseconds) to a specified duration. For example, check if
Timer > 60000(60 seconds).