up Inquisit Language Reference

y property

The vertical coordinate of the mouse cursor or joystick.

Member of

<joystick> <mouse>


With the mouse, valid values run from 0 to the number of vertical pixels, or -1 if the position is unknown. With the joystick the value runs from -1000 to 1000, with 0 representing the joystick in the center position


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

<text sometext>
/ items= ("mouse y position = <% mouse.y %>")

The following displays the value of y the joystick:

<page somepage>
joystick y position = <% joystick.y %>

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