Overview
Use Set Time Limit to start a countdown timer for a training state. When the timer expires, a configurable event fires, allowing you to route the learner to a timeout state or apply consequences. Use Remove Time Limit to cancel an active timer. Timers are useful for creating urgency, simulating real-world constraints, and preventing learners from taking unlimited time on assessments.Set Time Limit
When to Use
- Timed assessments — Limit time available to answer questions
- Timed challenges — Create pressure-based scenarios (e.g., “respond within 30 seconds”)
- Emergency simulations — Model real-world time constraints
- Workflow efficiency — Measure and reward quick, accurate performance
- Compliance training — Enforce time requirements for specific procedures
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Duration | Number (integer) | Yes | Timer length in seconds (or milliseconds if specified). Example: 60 for 1 minute |
| Time Unit | String | No | Unit of measurement: "seconds" (default) or "milliseconds" |
Example 1: 60-Second Quiz Question
Example 2: Emergency Response Simulation (30 seconds)
Example 3: Quick-Response Challenge (5 seconds)
Remove Time Limit
When to Use
- Cancel a timer after the learner completes the step successfully
- Remove the timer before transitioning to an untimed state
- Allow unlimited time after a timed challenge phase
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| None | — | — | No parameters. Cancels any active timer |
Example
Best Practices
Show a timer UI
Display the countdown visually using Show Text or Show Panel so learners know time is running.
Plan timeout routes
Define a target state for the timeout event so timeouts don’t break the training flow.
Remove or handle timer completion
In onExit, either Remove Time Limit or let the timer fire its event to transition states.
Common Patterns
Quiz with Time Limit
Emergency Response Scenario
Timed Practice Exercise
Timer Behavior
- Countdown — Timer counts down from the specified duration to zero
- Automatic timeout event — When the timer reaches zero, a
"timeout"event automatically fires - Non-blocking — Other interactions can occur while the timer runs
- Single timer — Only one active timer per state (creating a new timer replaces the previous one)
Related Actions
- Show Text — Display countdown or time-pressure messaging
- Show Panel — Present quiz or challenge instructions
- Pause Training — Optional: pause when time expires

