up Inquisit Language Reference

x property

The horizontal coordinate of the mouse cursor or joystick.

Member of

<joystick> <mouse>

Remarks

With the mouse, valid values run from 0 to the number of horizontal 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

Examples

The following displays the value of x for the mouse:

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

The following displays the value of x for the joystick:

<page somepage>
joystick x position = <% joystick.x %>
</page>

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