up Inquisit Language Reference

screenColor property

The color of the screen (background).

Member of

<block> <survey> <instruct>

Syntax

object.name.screenColor

Read/Write

Type

color

Remarks

This property can be set to any named color value (e.g., white, blue, green, lightyellow, ...).

Examples

The following block randomly sets its background color to yellow or white:

<block myBlock>
/ trials = [1-10=test]
/ onTrialBegin = {if(rand(1, 100) > 50) { block.myBlock.screenColor = yellow; } else { block.myBlock.screenColor = white; } }
</block>

Copyright Millisecond Software, LLC. All rights reserved.