<div dir="ltr">Hi!<br>I was wondering if someone else encountered this problem. I used the code below in order to log which picture a participant clicks on (the answer choices in this experiment are images on a slide). For a reason that I do not quite understand, the answers are logged in my data output, BUT, the first answer is always "NULL", and the answers are then logged on the wrong row (they are displaced one row down so that the answer provided for trial 1 is logged on the row of trial 2, and so on, meaning that the last answer is not logged at all). Anything in my code that looks wrong to you, or any suggestion? This is the very first time I ever program an experiment at all, so I feel like there are probably a lot of things I might be doing wrong!<br><br>Code:<br><br>Dim theState As SlideState<br>Set theState = EmotionIdentification.States("Default")<br>Dim strHit As String<br>Dim providedAnswer As MouseResponseData<br><br>If EmotionIdentification.InputMasks.Responses.Count > 0 Then<br><br>Set providedAnswer = CMouseResponseData(EmotionIdentification.InputMasks.Responses(1))<br><br>strHit = theState.HitTest(providedAnswer.CursorX, providedAnswer.CursorY)<br><br>c.SetAttrib "ClickedAnsKey", strHit<br><br>End If <br><br><br></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 <a href="mailto:e-prime+unsubscribe@googlegroups.com">e-prime+unsubscribe@googlegroups.com</a>.<br />
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com">e-prime@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/e-prime/aaf59e04-10be-4ec5-a9cb-2861ebaabcad%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/e-prime/aaf59e04-10be-4ec5-a9cb-2861ebaabcad%40googlegroups.com</a>.<br />
For more options, visit <a href="https://groups.google.com/d/optout">https://groups.google.com/d/optout</a>.<br />