up Inquisit Language Reference

erase attribute

The erase attribute specifies whether a visual stimulus should be erased or audio stimulus stopped at the end of the trial.

Member of

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

Syntax

/ erase = true

or

/ erase = true(colorname)

or

/ erase = hexvalue

or

/ erase = (red, green, blue)

or

/ erase = false

Parameters

Name Type Description
boolean boolean
colorname color The name of a hexvalue color A hexadecimal value starting with '#' indicating the red, green, and blue values (e.g., #FF0000 for red, #00FF00 for green, or #0000FF for blue)
red color An integer from 0 to 255 specifying the intensity of the red component.
green color An integer from 0 to 255 specifying the intensity of the green component.
blue color An integer from 0 to 255 specifying the intensity of the blue component.

Remarks

If erase is set to false, the stimulus is not erased at the end of the trial. If set to true, the stimulus is erased using the indicated colored. For sound stimuli, the sound is stopped and the erase color is ignored. The default is to erase the stimulus using the background color of the screen. By default, stimuli are erased using the background color of the screen.

Examples

The following defines a text stimulus that is erased with green:

<text myText>
/ items = ("blah blah blah")
/ erase = true(0, 255, 0)
</text>

Copyright Millisecond Software, LLC. All rights reserved.