place stimulus at preferred location


Author
Message
nakayama
nakayama
Guru (5.1K reputation)Guru (5.1K reputation)Guru (5.1K reputation)Guru (5.1K reputation)Guru (5.1K reputation)Guru (5.1K reputation)Guru (5.1K reputation)Guru (5.1K reputation)Guru (5.1K reputation)
Group: Forum Members
Posts: 72, Visits: 408
HI, Dave
I am designed a task in which after the presentation of  the fixation cross, the stimulus picture is attached to the mouse icon (moving mouse could move the picture) and that picture could be placed at preferred location by clicking that location.
Does Inquisit support that kind of programming?
Thank you for your attention;)
Best,
Attachments
experiment.iqx (194 views, 422 bytes)
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 12K, Visits: 98K
nakayama - 12/19/2019
HI, Dave
I am designed a task in which after the presentation of  the fixation cross, the stimulus picture is attached to the mouse icon (moving mouse could move the picture) and that picture could be placed at preferred location by clicking that location.
Does Inquisit support that kind of programming?
Thank you for your attention;)
Best,

Yes. You can refer to https://www.millisecond.com/download/library/spatialdelayedresponsetask/ or https://www.millisecond.com/download/library/toweroflondon/ as examples.

A simple example using the built-in drag & drop mechanics would look like this:

<text start>
/ items = ("+")
/ fontstyle = ("MS UI Gothic", 5.00%, false, false, false, false, 5, 1)
/ erase = true(white)
/ txbgcolor = grey
/ position = (50, 50)
</text>

<picture stimulus>
/items=("1.png")
/ dropsource = true
/ size = (10%, 10%)
</picture>

<trial start>
/ ontrialbegin = [
picture.stimulus.hposition = 50%;
picture.stimulus.vposition = 50%;
]
/ stimulustimes = [0=start;1000=screen, stimulus, end]
/ inputdevice = dragdrop
/ validresponse = (end)
</trial>

<shape screen>
/ color = grey
/ size = (100%, 100%)
/ position = (50%, 50%)
/ droptarget = true
/ erase = false
/ dropposition = (anywhere, anywhere)
</shape>

<text end>
/ items = ("DONE")
/ size = (8%, 4%)
/ txbgcolor = white
/ vjustify = center
/ position = (50%, 95%)
</text>

<block myblock>
/ trials = [1-20=start]
/ screencolor = grey
</block>




Edited 5 Years Ago by Dave
nakayama
nakayama
Guru (5.1K reputation)Guru (5.1K reputation)Guru (5.1K reputation)Guru (5.1K reputation)Guru (5.1K reputation)Guru (5.1K reputation)Guru (5.1K reputation)Guru (5.1K reputation)Guru (5.1K reputation)
Group: Forum Members
Posts: 72, Visits: 408
Dave - 12/19/2019
nakayama - 12/19/2019
HI, Dave
I am designed a task in which after the presentation of  the fixation cross, the stimulus picture is attached to the mouse icon (moving mouse could move the picture) and that picture could be placed at preferred location by clicking that location.
Does Inquisit support that kind of programming?
Thank you for your attention;)
Best,

Yes. You can refer to https://www.millisecond.com/download/library/spatialdelayedresponsetask/ or https://www.millisecond.com/download/library/toweroflondon/ as examples.

A simple example using the built-in drag & drop mechanics would look like this:

<text start>
/ items = ("+")
/ fontstyle = ("MS UI Gothic", 5.00%, false, false, false, false, 5, 1)
/ erase = true(white)
/ txbgcolor = grey
/ position = (50, 50)
</text>

<picture stimulus>
/items=("1.png")
/ dropsource = true
/ size = (10%, 10%)
</picture>

<trial start>
/ ontrialbegin = [
picture.stimulus.hposition = 50%;
picture.stimulus.vposition = 50%;
]
/ stimulustimes = [0=start;1000=screen, stimulus, end]
/ inputdevice = dragdrop
/ validresponse = (end)
</trial>

<shape screen>
/ color = grey
/ size = (100%, 100%)
/ position = (50%, 50%)
/ droptarget = true
/ erase = false
/ dropposition = (anywhere, anywhere)
</shape>

<text end>
/ items = ("DONE")
/ size = (8%, 4%)
/ txbgcolor = white
/ vjustify = center
/ position = (50%, 95%)
</text>

<block myblock>
/ trials = [1-20=start]
/ screencolor = grey
</block>




:) Thank you for your advice.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search