up Inquisit Language Reference

color property

The color of the shape.

Member of

<clearscreen> <shape>

Remarks

Can be set to any named color (e.g., brown, green, blue, lightyellow, ...).

Examples

The following trial sets the color of a shape based on whether or not the response to the previous trial was correct:

<trial feedback>
/ontrialbegin = [ if (trial.test.correct == true) shape.feedback.color = green; else shape.feedback.color = red; ]
/ stimulusframes = [1=feedback]
</trial>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.