The Clock behavior is present on the Digital Clock object.
- Current Time: Displays the current time of the host.
- Stopwatch: Displays a running count up.
- Timer: Displays a countdown and beeps once complete.
|paused||If the clock timer is paused.|
|Current time in stopwatch or timer mode. Clock mode returns 0. This function acts the same as Object's getValue().|
|Pauses/resumes a Clock in stopwatch or timer mode.|
|setValue( seconds)||Switches clock to timer and sets countdown time. This function acts the same as Object's setValue().|
|Switches clock to display current time. It will clear any stopwatch or timer.|
|Switches clock to stopwatch, setting time to 0. It will reset time if already in stopwatch mode.|
Set the timer to display a number of seconds. This function acts the same as Object's setValue(). If the Clock is not in timer mode, it will be switched. If it is in timer mode, it will be paused and the remaining time will be changed. This will not start the countdown on its own.