up Inquisit Language Reference

rotation attribute

The rotation attribute specifies an angle of rotation with which the stimulus should be presented.

Member of

<clock> <picture> <shape> <text> <video>

Syntax

/ rotation = degrees

or

/ rotation = expression

Parameters

Name Type Description
degrees number A negative or positive number indication the degrees of rotation.
expression value An expression that resolves to negative or positive number indication the degrees of rotation.

Remarks

This attribute allows visual stimuli to be rotated at an arbitrary angle (in degrees) on the screen. The default (no rotation) is 0 degrees. Positive angles rotate clockwise, and negative angles rotate counter clockwise.

Examples

The following text is rotated 180 degrees (upside down) when presented:

<text option1>
/ items=("1.jpg", "2.jpg", "3.jpg")
/ rotate=180
</text>

Copyright Millisecond Software, LLC. All rights reserved.