up Inquisit Language Reference

eraseColor property

The color used to overwrite a stimulus when it is erased.

Member of

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

Syntax

visualstimulus.name.eraseColor

Read/Write

Type

color

Remarks

Examples

The following trial erases the color of a text stimulus to black or white based on whether or not the response to the previous trial was correct:

<trial feedback>
/onTrialBegin = { if (trial.test.correct == true) text.target.eraseColor = black; else text.target.eraseColor = white; }
/ stimulusTimes = [0=feedback]
</trial>

Copyright Millisecond Software, LLC. All rights reserved.