up Inquisit Language Reference

insertstimulusframe function

Adds the stimulus to the specified frame of a trial.

Member of







element.name.insertstimulusframe(value, index)


Name Type Description
value stimulus The new stimulus.
index integer The index of the frame. The first item in the list is 1.


The following dynamically adds an error feedback stimulus to the trial if performance dips below 50%:

<trial sometrial>
/ ontrialend= [if (trial.sometrial.percentcorrect <= 50) trial.test.insertstimulusframe(text.errorfeedback, 1); ]

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.