up Inquisit Language Reference

responseY property

The vertical coordinate of the mouse cursor in canvas pixels at the moment the last response was given by the participant for the specified trial or block.

Member of

<block> <expt> <likert> <openended> <sliderTrial> <survey> <surveyPage> <trial>

Syntax

event.name.responseY

Read Only

Type

extent

Remarks

If the element is a block, this returns the y coordinate on the most recent trial that was run within the block. If the element is a trial, this returns the y coordinate the last time the trial was run. This returns -1 if the coordinate is unknown.

Examples

The following displays the value of responseY in a text stimulus:

<text myText>
/ items= ("mouse y position = <% trial.myTrial.responseY %>")
</text>

The following displays the value of responseY in an instruction page:

<page myPage>
mouse y position = <% trial.myTrial.responseY %>
</page>

Copyright Millisecond Software, LLC. All rights reserved.