Inquisit Language Reference
The undodraw attribute specifies conditions in which any drawing on a given trial should be erased.
|expression||One or more expressions, delimited by semi-colons. See help with expression syntax for more information.|
This parameter evaluates one or more specified expressions at the end of a trial. If the expressions evaluate to true, any drawing on that trial will be removed from the screen. This attribute thus provides a mechanism for a give task to allow participants to undo drawing mistakes (e.g., tracing to the incorrect target in the Trail Making Test.
The following trial erases a drawing if the participant clicks on an "undo" button placed on the screen.
/ stimulusframes = [1=start, undo]
/ undodraw = [trial.mytrial.response == "undo"]