up Inquisit Language Reference

dropSource attribute

The dropSource attribute determines whether the stimulus can be dragged and dropped on the screen.

Member of

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

Syntax

/ dropSource = boolean

or

/ dropSource = expression

Parameters

Name Type Description
boolean boolean True or false
expression value An expression that resolves to true or false

Remarks

If set to true, the stimulus can be dragged and dropped onto a dropTarget when the inputDevice mode is set to 'mouse' or 'dragdrop'. If false, the stimulus can not be dragged and dropped.

Examples

The following sets the position of the text to be the top right corner of the screen:

<shape someshape>
/ hposition = 95
/ dropSource = true
</shape>

The following sets the position based on the trial number:

<shape someshape>
/ dropSource = values.dropmode
</shape>

Copyright Millisecond Software, LLC. All rights reserved.