up Inquisit Language Reference

xPct 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.xPct

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 xPct in a text stimulus:

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

Copyright Millisecond Software, LLC. All rights reserved.