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>

Syntax

/ draw = stimulusname

or

/ draw = true(stimulusname)

or

/ draw = false

Parameters

stimulusname 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 sometext>
/ stimulusframes = [1=startHere]
/ validresponse = (startHere)
/ draw = greencircle
</trial>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.