up Inquisit Language Reference

clearscreen object

Properties

clearScreen.color
clearScreen.colorBlue
clearScreen.colorGreen
clearScreen.colorRed
clearScreen.bottom
clearScreen.dropTarget
clearScreen.dropX
clearScreen.dropY
clearScreen.eraseColor
clearScreen.eraseColorBlue
clearScreen.eraseColorGreen
clearScreen.eraseColorRed
clearScreen.height
clearScreen.heightPct
clearScreen.heightPx
clearScreen.hPosition
clearScreen.left
clearScreen.monitor
clearScreen.right
clearScreen.top
clearScreen.vPosition
clearScreen.width
clearScreen.widthPct
clearScreen.widthPx
clearScreen.x
clearScreen.xPct
clearScreen.xPx
clearScreen.y
clearScreen.yPct
clearScreen.yPx
clearScreen.currentItemNumber
clearScreen.skip
clearScreen.stimulusOnset
clearScreen.timestamp
clearScreen.name
clearScreen.typeName

Functions

clearScreen.containsPoint

Remarks

The clearscreen element is built-in, there is no need to explicitly declare it in the script. It is a type of visual stimulus, so it can be used wherever a visual stimulus element is valid. The clearscreen is useful for quickly clearing the screen. The advantage of using clearscreen rather than the shape element is that it is much faster. By default, the color used is the screenColor specified in defaults or white if none is specified. Can be referenced as clearscreen (defaults to primary monitor) or clearscreen.monitor where monitor specifies the monitor to be cleared (i.e. clearscreen[0] for the primary, clearscreen[1] for the secondary, etc.)

Examples

The following trial presents a fixation cross and wipes the screen clear after 500ms before it presents the target stimulus at 1000ms.

<trial targetTrial>
/ stimulusTimes = [0=fixation; 500 = clearScreen; 1000 = target]
/ validResponse = (" ")
</trial>

Copyright Millisecond Software, LLC. All rights reserved.