up Inquisit Language Reference

xPx property

The horizontal position of the item relative to the canvas in pixels.

Member of

<likert> <openended> <sliderTrial> <caption> <checkboxes> <dropdown> <image> <listbox> <radioButtons> <slider> <textbox> <button> <clearScreen> <clock> <html> <picture> <shape> <text> <video>

Syntax

object.name.xPx

Read/Write

Type

extent

Remarks

Use the xPct propert to get the position of the item as a percentage of the canvas width.

Examples

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

<text myText>
/ items= ("xPx = <% text.foo.xPx %>")
</text>

Copyright Millisecond Software, LLC. All rights reserved.