This article applies to:
E-Prime 3.0
E-Prime 2.0
E-Prime 1.x
Detail
This sample experiment illustrates how to continuously log mouse coordinates.
Abstract
A 'TextDisplay' object is presented and the participant is asked to estimate the location of a previous stimulus. The TextDisplay is configured with a '0' Duration so that InLine script will execute during the object.
The InLine script contains a loop that will run until a response is received. Inside the loop, the current time is constantly monitored. Every 25ms, the mouse coordinates are logged as attributes, along with a timestamp. Once a response is made, the response coordinates are logged.
Afterwards, the attributes created are used to present a replay of the subject's path. A 'Canvas' object is used to draw a circle representing each set of coordinates logged. An outlined circle is drawn at the end of the replay to indicate the response coordinates. The participant can skip this replay by pressing the left mouse button.
See Also:
Comments
0 comments
Please sign in to leave a comment.