Resets the time of a clock that is in timer or stopwatch mode.
<clock>
none
None.
The resetTime function resets the time of a clock in timer or stopwatch mode. On the next trial, the displayed time will be the value of timeout on a timer or 0 on a stopwatch.
The following resets the time of a stopwatch:
<trial myTrial>
/ onTrialEnd= [clock.timespent.resetTime();]
</trial>
The following resets the time of a timer:
<trial myTrial>
/ onTrialEnd= [clock.timeremaining.resetTime();]
</trial>