up Inquisit Language Reference

responseX property

The horizontal coordinate in canvas pixels of the mouse cursor 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.responseX

Read Only

Type

extent

Remarks

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

Examples

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

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

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

<page myPage>
mouse x position = <% trial.myTrial.responseX %>
</page>

Copyright Millisecond Software, LLC. All rights reserved.