Back
Login
Register
Login
Register
Millisecond Forums
Home
»
Millisecond Forums
»
Inquisit 5
»
place stimulus at preferred location
place stimulus at preferred location
Post Reply
Like
28
place stimulus at preferred location
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
nakayama
nakayama
posted 5 Years Ago
ANSWER
Topic Details
Share Topic
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
(
269 views,
422 bytes
)
Reply
Like
28
Dave
Dave
posted 5 Years Ago
ANSWER
Post Details
Share Post
Group: Administrators
Posts: 13K,
Visits: 104K
+
x
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
Reply
Like
19
nakayama
nakayama
posted 5 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 72,
Visits: 408
+
x
Dave - 12/19/2019
+
x
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.
Reply
Like
31
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
28
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Facebook
Explore
Messages
Mentions
Search