Millisecond Forums

How to create clickable picture?

https://forums.millisecond.com/Topic14687.aspx

By Topher Hübel - 10/21/2014

Sorry, I tried to search for that topic and didn't find any answer.
Perhaps someone could please help me?

I've got a signal cue and present afterwards two emotional pictures.
I want the participant to choose between these two pics by clicking on them,
but I just don't get it.

Thanks in advance!
By Dave - 10/21/2014

Define your two <picture> elements. Have the <trial> display them via /stimulustimes or -frames. Set the <trial>'s /inputdevice to mouse. Define the two clickable elements in /validresponse.

<trial mytrial>
/ stimulustimes = [...; 3000=picA, picB]
/ inputdevice = mouse
/ validresponse = (picA, picB)
...
</trial>
By Topher Hübel - 10/21/2014

Thank you, that's working now.

But I now have the problem, that the before shown signal cue is still visible, when I present my pictures..

<trial Quadrat1>
/stimulustimes = [0=fixation; 500=Quadrat1; 1000=Bild_neuPflanzen2, Bild_neuPilze2]
/inputdevice = mouse
/validresponse = (Bild_neuPflanzen2, Bild_neuPilze2)
</trial>

Any ideas?
By Dave - 10/21/2014

You need to overwrite to with a blank stimulus at the appropriate time. See the "How to erase stimuli" topic in the documentation.
By Topher Hübel - 10/21/2014

You are my hero! Thanks!