The angle of rotation in degrees with which to display stimulus.
visualstimulus.name.rotation
Read/Write
number
The default is 0 degrees. Positive numbers values the stimulus right. Negative values rotate the stimulus in left.
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>