Returns the first stimulus presented on the frame corresponding to the specified time.
stimulus
Name | Type | Description |
---|---|---|
time | integer | The time in milliseconds corresponding to the frame to get. |
The stimulusTime function returns the first stimulus, if any, presented on the frame of the trial corresponding to the specified time. Given that Inquisit presents stimuli at the beginning of the vertical refresh frame nearest the specified time, it is possible that calling this function with two different times can return the same stimulus if those times map to the same frame.
The following displays the name of the stimulus presented at 100 ms:
<text myText>
/ items= ("current category = <% trial.myTrial.stimulusTime(100) %>")
</text>
The following displays the name of the stimulus presented at 1000 ms:
<page myPage>
current category = <% trial.myTrial.stimulusTime(1000) %>
</page>