Adds the stimulus to the frame of a trial corresponding to the specified time.
none
Name | Type | Description |
---|---|---|
value | stimulus | The new stimulus. |
time | integer | The time in milliseconds. |
The insertStimulusTime function adds the specified stimulus to the frame of a trial corresponding to the specified time in milliseconds.
The following dynamically adds an error feedback stimulus to the trial if performance dips below 50%:
<trial myTrial>
/ onTrialEnd= [if (this.percentCorrect <= 50) trial.test.insertStimulusTime(text.errorfeedback, 0); ]
</trial>