up Inquisit Language Reference

draw attribute

The draw attribute specifies that the mouse cursor will draw on the screen using the specified stimulus as a brush.

Member of

<trial> <likert> <openended> <sliderTrial> <surveyPage>

Syntax

/ draw = stimulusname

Parameters

Name Type Description
false false
stimulusname visualstimulus The name of a stimulus to be used as a brush.

Remarks

If set to true, a line is drawn on the screen that traces the path of the mouse cursor using the specified stimulus as a brush, or a a 2-pixel black brush if no stimulus is specified. Drawings can be saved using the screenCapture attribute. If draw is set to false (default), the mouse cursor functions normally and no drawing occurs.

Examples

The following defines a trial that draws on the screen using a shape called "greencircle" as a brush :

<trial myText>
/ stimulusTimes = [0=startHere]
/ validResponse = (startHere)
/ draw = greencircle
</trial>

Copyright Millisecond Software, LLC. All rights reserved.