Creating 'variables' in Inquisit and using them to determine the position of a shape


Author
Message
Nick Riches
Nick Riches
Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)Esteemed Member (2K reputation)
Group: Forum Members
Posts: 19, Visits: 69
Hi

I'm trying to get a shape to appear in different positions on different trials. The position would ideally be an item stored in an item or list element. However, Inquisit only seems to allow you to store string values in item or list elements. Is there any way to store the position, and then plug it into the shape element?
Below is ta minimal worked example.

Thanks


<list shapeVposn>
/ items = (25%, 50%, 50%, 25%)
</list>

<list shape>
/ items = (rectangle, circle, rectangle, circle)
</list>


<shape shape>
/ shape = list.shape
/ color = darkblue
/ height = 10%
/ width = 10%
/ position = (50%, list.shapeVposn)
</shape>

<trial shapeTrial>
/ stimulusframes = [1 = shape]
/ validresponse = (" ")
</trial>

<block block>
/ trials = [1 = shapeTrial]
</block>


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search