The dropSource attribute determines whether the stimulus can be dragged and dropped on the screen.
or
/ dropSource = expressionName | Type | Description |
---|---|---|
boolean | boolean | True or false |
expression | value | An expression that resolves to true or false |
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.
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>