<div dir="ltr"><div>Hallo everybody</div><div><br></div><div>I am trying to create a Task where an image (a Comic Scene)  is given as a stimulus. Simultaneously, there is a sound file played, which describes the stimulus scene.</div><div>Participants should choose 1of 4 possible answers (4 Images) by clicking.</div><div><br></div><div>So i have got a slide with 5 slide-images (1 stimulus and 4 target Images) and 1 slide-sound-out sub-object.</div><div><br></div><div>I've used the following inLine code to define the 4 target Images as clickable targets and to check, if the clicked image is the correct answer:</div><div><br></div><div><br></div><div><br><font color="#a64d79"> Dim theState as SlideState<br> Set theState = RecognitionSlide.States("Default")</font></div><div><font color="#a64d79"> Dim next_mX as Long, next_mY as Long<br>  Dim strHit As String<br>  Dim theMouseResponseData As MouseResponseData</font></div><div><font color="#a64d79"><br></font></div><div><font color="#a64d79"> <br>        If RecognitionSlide.InputMasks.Responses.Count > 0 Then</font></div><div><br><font color="#a64d79">          Set theMouseResponseData = CMouseResponseData(RecognitionSlide.InputMasks.Responses(1))<br>    <br>                <br>                strHit = theState.HitTest(theMouseResponseData.CursorX, theMouseResponseData.CursorY)</font></div><div><br><font color="#a64d79">             <br>                      If strHit = ("Image1") or strHit = ("Image2") or strHit = ("Image3")or strHit = ("Image4")  Then<br>                     c.SetAttrib "response", strHit</font></div><div><font color="#a64d79">                </font></div><div><font color="#a64d79">                     Else<br>                     Goto restart</font></div><div><font color="#a64d79">                        End If <br></font></div><div><font color="#a64d79"><br></font></div><div><br><font color="#a64d79">If strHit = c.GetAttrib("CorrectEmotion") Then<br>RecognitionSlide.ACC = 1<br>Else<br>RecognitionSlide.ACC = 0 <br>End If</font></div><div><br></div><div><br></div><div><font color="#000000">My</font> Problem is, that everytime you click somewhere else than the 4 target Images, the Sound file and RT-measures start again.</div><div><br></div><div>So basically i need something else than the code          </div><div>                       <font color="#a64d79">Else<br>                      Goto restart</font></div><div><font color="#000000">which doesn't cause the slide to be reset.</font></div><div><font color="#000000"><br></font></div><div><font color="#000000"><br></font></div><div><font color="#000000">Is there any way to make everything but the 4 target Images unclickable?</font></div><div><font color="#000000">I hope you understand what i mean.</font></div><div><font color="#000000"><br></font></div><div><font color="#000000">Any help would be appreciated</font></div><div><font color="#000000">Best regards</font></div><div><font color="#000000">Hans</font></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe@googlegroups.com.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/a7f4d4a6-855b-4d6c-9944-08d07ece19bc%40googlegroups.com">https://groups.google.com/d/msgid/e-prime/a7f4d4a6-855b-4d6c-9944-08d07ece19bc%40googlegroups.com</a>.<br />
For more options, visit <a href="https://groups.google.com/groups/opt_out">https://groups.google.com/groups/opt_out</a>.<br />