Group: Forum Members
Posts: 40,
Visits: 148
|
Hi all, I am programming an experiment during which subjects are shown with a series of picture frames that in sequence create a brief video. After watching the video the item on the screen suddenly disappears, and that's when subjects have to use the mouse cursor to select where they think the item was before it disappeared. For this reason I don't want the mouse cursor to be on the screen for the whole trial, in order to prevent that subjects could trace with the mouse the position of the item before it disappears. So, my problem is that -as far as I know - the showmousecursor property could be set either to true or false, but I want the mouse cursor to show just at the end of the trial, specifically when the last frame is presented. Do you know any trick (i.e. conditional statements that could be used) to show the mouse cursor just at the end of trial (i.e. when participant have to make the response)??
Here is my code:
<values> /Actiontype=0 /con = 0 /object = 0 /length = 0 /time_sound = (round(rand(60,180))) /time_second_frame = time_sound+60+5 /time_third_frame = time_sound+60+5+5 /time_final_third = time_sound+60+5+5+5 </values>
<trial safe_3_backward_inc> / ontrialbegin = [values.Actiontype="Withdrawal"; values.con = "Incongruent"; values.object = "safe"; values.length = 3] / ontrialbegin = [trial.safe_3_backward_inc.insertstimulusframe(sound.take, values.time_sound); trial.safe_3_backward_inc.insertstimulusframe(picture.safe_minus_second_frame, values.time_second_frame);trial.safe_3_backward_inc.insertstimulusframe(picture.safe_minus_third_frame, values.time_third_frame);trial.safe_3_backward_inc.insertstimulusframe(picture.safe_w, values.time_final_third)] / stimulusframes = [1 = safe_first_frame] / inputdevice = mouse / correctresponse =(lbuttondown) / validresponse = (lbuttondown) / responsetrial = (lbuttondown, space) / ontrialend = [values.x=trial.safe_3_backward_inc.responsex;values.y=trial.safe_3_backward_inc.responsey;] </trial>
Thank you in advance!
Eleonora
|