you could use a Do...Loop Until in an Inline to continuously check for mouse cursor position until some condition is met, for instance the cursor's x and y position both meet some requirement (ie, If x > 5 and x < 10 and y > 5 and y < 10 Then trial.ACC = 1, trial.RT = clock.read). does that make sense?<div>
<br></div><div>ben<br><br><div class="gmail_quote">On Thu, Apr 28, 2011 at 5:35 PM, Erin <span dir="ltr"><<a href="mailto:erin.siebert@gmail.com">erin.siebert@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I want find out how to make an image selection happen by simply having<br>
the mouse cursor contact an image, without any clicking. My experiment<br>
is actually a match-to-sample task for chimpanzees using a joystick<br>
without buttons. I have successfully set up the joystick to control<br>
the mouse cursor in E-Prime, so the chimp can control the mouse cursor<br>
using the joystick. I want the chimp to be able to select an image by<br>
simply contacting the image with the mouse cursor.<br>
<br>
The experiment will have three images displayed- a sample image at the<br>
top of the screen (no response if contacted), then below, 2 images:<br>
one image that matches the sample (correct if contacted), and a non-<br>
matching foil image (incorrect if contacted).<br>
<br>
So, I need to figure out how to have an image selection happen by<br>
contact with the mouse cursor alone, and how to designate the image<br>
response as correct or incorrect. I have searched the E-Prime help,<br>
and checked the forums with no luck. I downloaded the sample<br>
experiment "Response Areas For Mouse Input Sample," but I am not sure<br>
how to adapt it to select an image without a click. I am new to E-<br>
Prime, and would appreciate any information. thank you.<br>
<br>
Erin<br>
<font color="#888888"><br>
--<br>
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com">e-prime@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href="mailto:e-prime%2Bunsubscribe@googlegroups.com">e-prime+unsubscribe@googlegroups.com</a>.<br>
For more options, visit this group at <a href="http://groups.google.com/group/e-prime?hl=en" target="_blank">http://groups.google.com/group/e-prime?hl=en</a>.<br>
<br>
</font></blockquote></div><br></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To unsubscribe from this group, send email to e-prime+unsubscribe@googlegroups.com.<br />
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.<br />