up Inquisit Language Reference

top property

The horizontal screen coordinate of the top of the stimulus.

Member of

<button> <clearScreen> <clock> <html> <picture> <shape> <text> <video>

Syntax

visualstimulus.name.top

Read Only

Type

extent

Remarks

This property returns the top of the stimulus in screen percentages.

If the stimulus' size is not explicitly set, this property returns the center vertical coordinate of the stimulus.

Examples

The following displays the value of top of text.foo in a text stimulus:

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

The following displays the value of top of shape.foo in an instruction page:

<page myPage>
top = <% shape.foo.top %>
</page>

Copyright Millisecond Software, LLC. All rights reserved.