up Inquisit Language Reference

rotation property

The angle of rotation in degrees with which to display stimulus.

Member of

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

Syntax

visualstimulus.name.rotation

Read/Write

Type

number

Remarks

The default is 0 degrees. Positive numbers values the stimulus right. Negative values rotate the stimulus in left.

Examples

The following displays the degrees of rotation of a text stimulus:

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

The following rotates a picture stimulus 20 degrees clockwise:

<picture targets>
/ items = targetitems
/onPrepare = {picture.targets.rotation = 20;}
</picture>

Copyright Millisecond Software, LLC. All rights reserved.