﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Millisecond Forums » Millisecond Forums » Inquisit 4  » mouse click pattern repeating</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Mon, 21 Sep 2026 14:23:17 GMT</lastBuildDate><ttl>20</ttl><item><title>mouse click pattern repeating</title><link>https://forums.millisecond.com/Topic20631.aspx</link><description>Hello,&lt;br/&gt;&lt;br/&gt;I am trying to program the following task:&lt;br/&gt;&lt;ol&gt;&lt;li&gt;present a pattern of cross in a 3x3 grid --&amp;gt; done&amp;nbsp;&lt;/li&gt;&lt;li&gt;presenting a decision making task --&amp;gt; done&lt;/li&gt;&lt;li&gt;present a 3x3 grid where the participant will need to mouse click in the same position of the previously seen pattern ---&amp;gt; need to be adjusted&lt;/li&gt;&lt;/ol&gt;What happens is that the first series of trials is ok, but the trials that follow has in point 3. the old pattern clicked. How can I avoid that and have always in part three a white grid at the beginning?&lt;br/&gt;&lt;br/&gt;Please see experiment attached. Let me know if you need further information. I have just include the file Easy1 (for the pattern of dots and the fathigh example)&lt;br/&gt;&lt;br/&gt;Thank you very very much,&lt;br/&gt;&lt;br/&gt;Elena</description><pubDate>Mon, 06 Feb 2017 08:00:58 GMT</pubDate><dc:creator>tecnika</dc:creator></item><item><title>RE: mouse click pattern repeating</title><link>https://forums.millisecond.com/Topic20650.aspx</link><description>&lt;div data-id="20644" class="if-quote-wrapper" unselectable="on" data-guid="1486396851517"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20644" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20644" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20644" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Monday, February 6, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20644"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="20642" class="if-quote-wrapper" unselectable="on" data-guid="1486396851517"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20642" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20642" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20642" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;ebroggin - Monday, February 6, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20642"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="20636" class="if-quote-wrapper" unselectable="on" data-guid="1486396851517"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20636" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20636" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20636" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, February 3, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20636"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="20633" class="if-quote-wrapper" unselectable="on" data-guid="1486396851517"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20633" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20633" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20633" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;ebroggin - Friday, February 3, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20633"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="20632" class="if-quote-wrapper" unselectable="on" data-guid="1486396851517"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20632" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20632" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20632" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, February 3, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20632"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="20631" class="if-quote-wrapper" unselectable="on" data-guid="1486396851517"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20631" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20631" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20631" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;ebroggin - Friday, February 3, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20631"&gt;&lt;div class="if-quote-message-margin"&gt;Hello,&lt;br/&gt;&lt;br/&gt;I am trying to program the following task:&lt;br/&gt;&lt;ol&gt;&lt;li&gt;present a pattern of cross in a 3x3 grid --&amp;gt; done&amp;nbsp;&lt;/li&gt;&lt;li&gt;presenting a decision making task --&amp;gt; done&lt;/li&gt;&lt;li&gt;present a 3x3 grid where the participant will need to mouse click in the same position of the previously seen pattern ---&amp;gt; need to be adjusted&lt;/li&gt;&lt;/ol&gt;What happens is that the first series of trials is ok, but the trials that follow has in point 3. the old pattern clicked. How can I avoid that and have always in part three a white grid at the beginning?&lt;br/&gt;&lt;br/&gt;Please see experiment attached. Let me know if you need further information. I have just include the file Easy1 (for the pattern of dots and the fathigh example)&lt;br/&gt;&lt;br/&gt;Thank you very very much,&lt;br/&gt;&lt;br/&gt;Elena&lt;a class="if-quote-goto quote-link" href="#" data-id="20631"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;You set the the various &amp;lt;picture&amp;gt; elements to specific items based on response in &amp;lt;trial grid&amp;gt;:&lt;br/&gt;&lt;br/&gt;&amp;lt;trial grid&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.cross_num += 1]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ stimulusframes = [1=grid, 1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3] &lt;br/&gt;/ validresponse = (1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3)&lt;br/&gt;&lt;strong&gt;/ ontrialbegin = &lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[if (trial.grid.response == "1.1") {picture.1.1.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.2") {picture.1.2.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.3") {picture.1.3.item.1 = picture.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "2.1") {picture.2.1.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.2") {picture.2.2.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.3") {picture.2.3.item.1 = picture.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "3.1") {picture.3.1.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.2") {picture.3.2.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.3") {picture.3.3.item.1 = picture.x.item.1}]&lt;/strong&gt;&lt;br/&gt;/ branch = [if (values.cross_num &amp;lt; 3) trial.grid]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;You need to reverse that at the start of each "round", i.e. /onblockbegin set the various picture elements *back* to their original items.&lt;br/&gt;&lt;br/&gt;&amp;lt;block verbal_experiment&amp;gt;&lt;br/&gt;/ onblockbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.1.1.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.1.2.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.1.3.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.2.1.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.2.2.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.2.3.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.3.1.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.3.2.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.3.3.item.1 = picture.square.item.1;&lt;br/&gt;]&lt;br/&gt;/ trials = [1 = easy; 2 = verbal; 3= grid; 4= pause] &lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture square&amp;gt;&lt;br/&gt;/ items = ("square.png")&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="20632"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;Hello,&lt;br/&gt;&lt;br/&gt;Many thanks for your reply,&lt;br/&gt;&lt;br/&gt;I have done that, but from the second block (in the part 3. when the participant should click on three squares, you can see the last cross that the participant clicked)...Is it possible to show just an empty grid at the beginning of each part 3. (so the participant can reproduce the pattern see in part1.)?&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;&lt;br/&gt;Elena&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="20633"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;&amp;gt; (in the part 3. when the participant should click on three squares, you can see the last cross that the participant clicked).&lt;br/&gt;&lt;br/&gt;The problem is that you perform the logic in &amp;lt;trial grid&amp;gt; /ontrialbegin. It will thus carry over from the last instance of the trial in the previous round.&lt;br/&gt;&lt;br/&gt;&amp;lt;trial grid&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.cross_num += 1]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ stimulusframes = [1=grid, 1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3] &lt;br/&gt;/ validresponse = (1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3)&lt;br/&gt;&lt;strong&gt;/ ontrialbegin = &lt;/strong&gt;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[if (trial.grid.response == "1.1") {text.1.1.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.2") {text.1.2.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.3") {text.1.3.item.1 = text.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "2.1") {text.2.1.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.2") {text.2.2.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.3") {text.2.3.item.1 = text.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "3.1") {text.3.1.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.2") {text.3.2.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.3") {text.3.3.item.1 = text.x.item.1}]&lt;br/&gt;/ branch = [if (values.cross_num &amp;lt; 3) trial.grid]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;You'll want to perform the logic /ontrialend instead.&lt;br/&gt;&lt;br/&gt;&amp;lt;trial grid&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.cross_num += 1]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ stimulusframes = [1=grid, 1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3] &lt;br/&gt;/ validresponse = (1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3)&lt;br/&gt;&lt;strong&gt;/ ontrialend = &lt;/strong&gt;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[if (trial.grid.response == "1.1") {text.1.1.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.2") {text.1.2.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.3") {text.1.3.item.1 = text.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "2.1") {text.2.1.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.2") {text.2.2.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.3") {text.2.3.item.1 = text.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "3.1") {text.3.1.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.2") {text.3.2.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.3") {text.3.3.item.1 = text.x.item.1}]&lt;br/&gt;/ branch = [if (values.cross_num &amp;lt; 3) trial.grid]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="20636"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;That's perfect now, thanks supreme being! A last thing: Is it possible that after the third click the grid stay there for 1 sec, so the participant can see where he/she has put the third cross?&lt;br/&gt;&lt;br/&gt;Thank you,&lt;br/&gt;&lt;br/&gt;Elena&lt;a class="if-quote-goto quote-link" href="#" data-id="20642"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;&amp;gt; 1 sec, so the participant can see where he/she has put the third cross?&lt;br/&gt;&lt;br/&gt;Yes. Run another &amp;lt;trial grid&amp;gt; in your &amp;lt;block&amp;gt; that displays the same stimuli as &amp;lt;trial grid&amp;gt;, but is set to accept no response ( /validresponse = (0) ) and last one second ( /trialduration = 1000 ).&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="20644"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;Thanks!!&lt;br/&gt;&lt;br/&gt;Elena</description><pubDate>Mon, 06 Feb 2017 08:00:58 GMT</pubDate><dc:creator>tecnika</dc:creator></item><item><title>RE: mouse click pattern repeating</title><link>https://forums.millisecond.com/Topic20644.aspx</link><description>&lt;div data-id="20642" class="if-quote-wrapper" unselectable="on" data-guid="1486393069819"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20642" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20642" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20642" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;ebroggin - Monday, February 6, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20642"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="20636" class="if-quote-wrapper" unselectable="on" data-guid="1486393069819"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20636" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20636" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20636" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, February 3, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20636"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="20633" class="if-quote-wrapper" unselectable="on" data-guid="1486393069819"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20633" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20633" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20633" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;ebroggin - Friday, February 3, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20633"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="20632" class="if-quote-wrapper" unselectable="on" data-guid="1486393069819"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20632" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20632" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20632" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, February 3, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20632"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="20631" class="if-quote-wrapper" unselectable="on" data-guid="1486393069819"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20631" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20631" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20631" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;ebroggin - Friday, February 3, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20631"&gt;&lt;div class="if-quote-message-margin"&gt;Hello,&lt;br/&gt;&lt;br/&gt;I am trying to program the following task:&lt;br/&gt;&lt;ol&gt;&lt;li&gt;present a pattern of cross in a 3x3 grid --&amp;gt; done&amp;nbsp;&lt;/li&gt;&lt;li&gt;presenting a decision making task --&amp;gt; done&lt;/li&gt;&lt;li&gt;present a 3x3 grid where the participant will need to mouse click in the same position of the previously seen pattern ---&amp;gt; need to be adjusted&lt;/li&gt;&lt;/ol&gt;What happens is that the first series of trials is ok, but the trials that follow has in point 3. the old pattern clicked. How can I avoid that and have always in part three a white grid at the beginning?&lt;br/&gt;&lt;br/&gt;Please see experiment attached. Let me know if you need further information. I have just include the file Easy1 (for the pattern of dots and the fathigh example)&lt;br/&gt;&lt;br/&gt;Thank you very very much,&lt;br/&gt;&lt;br/&gt;Elena&lt;a class="if-quote-goto quote-link" href="#" data-id="20631"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;You set the the various &amp;lt;picture&amp;gt; elements to specific items based on response in &amp;lt;trial grid&amp;gt;:&lt;br/&gt;&lt;br/&gt;&amp;lt;trial grid&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.cross_num += 1]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ stimulusframes = [1=grid, 1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3] &lt;br/&gt;/ validresponse = (1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3)&lt;br/&gt;&lt;strong&gt;/ ontrialbegin = &lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[if (trial.grid.response == "1.1") {picture.1.1.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.2") {picture.1.2.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.3") {picture.1.3.item.1 = picture.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "2.1") {picture.2.1.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.2") {picture.2.2.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.3") {picture.2.3.item.1 = picture.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "3.1") {picture.3.1.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.2") {picture.3.2.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.3") {picture.3.3.item.1 = picture.x.item.1}]&lt;/strong&gt;&lt;br/&gt;/ branch = [if (values.cross_num &amp;lt; 3) trial.grid]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;You need to reverse that at the start of each "round", i.e. /onblockbegin set the various picture elements *back* to their original items.&lt;br/&gt;&lt;br/&gt;&amp;lt;block verbal_experiment&amp;gt;&lt;br/&gt;/ onblockbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.1.1.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.1.2.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.1.3.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.2.1.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.2.2.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.2.3.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.3.1.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.3.2.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.3.3.item.1 = picture.square.item.1;&lt;br/&gt;]&lt;br/&gt;/ trials = [1 = easy; 2 = verbal; 3= grid; 4= pause] &lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture square&amp;gt;&lt;br/&gt;/ items = ("square.png")&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="20632"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;Hello,&lt;br/&gt;&lt;br/&gt;Many thanks for your reply,&lt;br/&gt;&lt;br/&gt;I have done that, but from the second block (in the part 3. when the participant should click on three squares, you can see the last cross that the participant clicked)...Is it possible to show just an empty grid at the beginning of each part 3. (so the participant can reproduce the pattern see in part1.)?&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;&lt;br/&gt;Elena&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="20633"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;&amp;gt; (in the part 3. when the participant should click on three squares, you can see the last cross that the participant clicked).&lt;br/&gt;&lt;br/&gt;The problem is that you perform the logic in &amp;lt;trial grid&amp;gt; /ontrialbegin. It will thus carry over from the last instance of the trial in the previous round.&lt;br/&gt;&lt;br/&gt;&amp;lt;trial grid&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.cross_num += 1]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ stimulusframes = [1=grid, 1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3] &lt;br/&gt;/ validresponse = (1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3)&lt;br/&gt;&lt;strong&gt;/ ontrialbegin = &lt;/strong&gt;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[if (trial.grid.response == "1.1") {text.1.1.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.2") {text.1.2.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.3") {text.1.3.item.1 = text.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "2.1") {text.2.1.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.2") {text.2.2.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.3") {text.2.3.item.1 = text.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "3.1") {text.3.1.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.2") {text.3.2.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.3") {text.3.3.item.1 = text.x.item.1}]&lt;br/&gt;/ branch = [if (values.cross_num &amp;lt; 3) trial.grid]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;You'll want to perform the logic /ontrialend instead.&lt;br/&gt;&lt;br/&gt;&amp;lt;trial grid&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.cross_num += 1]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ stimulusframes = [1=grid, 1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3] &lt;br/&gt;/ validresponse = (1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3)&lt;br/&gt;&lt;strong&gt;/ ontrialend = &lt;/strong&gt;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[if (trial.grid.response == "1.1") {text.1.1.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.2") {text.1.2.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.3") {text.1.3.item.1 = text.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "2.1") {text.2.1.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.2") {text.2.2.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.3") {text.2.3.item.1 = text.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "3.1") {text.3.1.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.2") {text.3.2.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.3") {text.3.3.item.1 = text.x.item.1}]&lt;br/&gt;/ branch = [if (values.cross_num &amp;lt; 3) trial.grid]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="20636"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;That's perfect now, thanks supreme being! A last thing: Is it possible that after the third click the grid stay there for 1 sec, so the participant can see where he/she has put the third cross?&lt;br/&gt;&lt;br/&gt;Thank you,&lt;br/&gt;&lt;br/&gt;Elena&lt;a class="if-quote-goto quote-link" href="#" data-id="20642"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;&amp;gt; 1 sec, so the participant can see where he/she has put the third cross?&lt;br/&gt;&lt;br/&gt;Yes. Run another &amp;lt;trial grid&amp;gt; in your &amp;lt;block&amp;gt; that displays the same stimuli as &amp;lt;trial grid&amp;gt;, but is set to accept no response ( /validresponse = (0) ) and last one second ( /trialduration = 1000 ).&lt;br/&gt;</description><pubDate>Mon, 06 Feb 2017 06:59:56 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: mouse click pattern repeating</title><link>https://forums.millisecond.com/Topic20642.aspx</link><description>&lt;div data-id="20636" class="if-quote-wrapper" unselectable="on" data-guid="1486377324218"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20636" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20636" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20636" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, February 3, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20636"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="20633" class="if-quote-wrapper" unselectable="on" data-guid="1486377324218"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20633" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20633" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20633" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;ebroggin - Friday, February 3, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20633"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="20632" class="if-quote-wrapper" unselectable="on" data-guid="1486377324218"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20632" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20632" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20632" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, February 3, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20632"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="20631" class="if-quote-wrapper" unselectable="on" data-guid="1486377324218"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20631" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20631" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20631" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;ebroggin - Friday, February 3, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20631"&gt;&lt;div class="if-quote-message-margin"&gt;Hello,&lt;br/&gt;&lt;br/&gt;I am trying to program the following task:&lt;br/&gt;&lt;ol&gt;&lt;li&gt;present a pattern of cross in a 3x3 grid --&amp;gt; done&amp;nbsp;&lt;/li&gt;&lt;li&gt;presenting a decision making task --&amp;gt; done&lt;/li&gt;&lt;li&gt;present a 3x3 grid where the participant will need to mouse click in the same position of the previously seen pattern ---&amp;gt; need to be adjusted&lt;/li&gt;&lt;/ol&gt;What happens is that the first series of trials is ok, but the trials that follow has in point 3. the old pattern clicked. How can I avoid that and have always in part three a white grid at the beginning?&lt;br/&gt;&lt;br/&gt;Please see experiment attached. Let me know if you need further information. I have just include the file Easy1 (for the pattern of dots and the fathigh example)&lt;br/&gt;&lt;br/&gt;Thank you very very much,&lt;br/&gt;&lt;br/&gt;Elena&lt;a class="if-quote-goto quote-link" href="#" data-id="20631"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;You set the the various &amp;lt;picture&amp;gt; elements to specific items based on response in &amp;lt;trial grid&amp;gt;:&lt;br/&gt;&lt;br/&gt;&amp;lt;trial grid&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.cross_num += 1]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ stimulusframes = [1=grid, 1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3] &lt;br/&gt;/ validresponse = (1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3)&lt;br/&gt;&lt;strong&gt;/ ontrialbegin = &lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[if (trial.grid.response == "1.1") {picture.1.1.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.2") {picture.1.2.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.3") {picture.1.3.item.1 = picture.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "2.1") {picture.2.1.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.2") {picture.2.2.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.3") {picture.2.3.item.1 = picture.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "3.1") {picture.3.1.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.2") {picture.3.2.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.3") {picture.3.3.item.1 = picture.x.item.1}]&lt;/strong&gt;&lt;br/&gt;/ branch = [if (values.cross_num &amp;lt; 3) trial.grid]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;You need to reverse that at the start of each "round", i.e. /onblockbegin set the various picture elements *back* to their original items.&lt;br/&gt;&lt;br/&gt;&amp;lt;block verbal_experiment&amp;gt;&lt;br/&gt;/ onblockbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.1.1.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.1.2.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.1.3.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.2.1.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.2.2.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.2.3.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.3.1.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.3.2.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.3.3.item.1 = picture.square.item.1;&lt;br/&gt;]&lt;br/&gt;/ trials = [1 = easy; 2 = verbal; 3= grid; 4= pause] &lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture square&amp;gt;&lt;br/&gt;/ items = ("square.png")&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="20632"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;Hello,&lt;br/&gt;&lt;br/&gt;Many thanks for your reply,&lt;br/&gt;&lt;br/&gt;I have done that, but from the second block (in the part 3. when the participant should click on three squares, you can see the last cross that the participant clicked)...Is it possible to show just an empty grid at the beginning of each part 3. (so the participant can reproduce the pattern see in part1.)?&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;&lt;br/&gt;Elena&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="20633"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;&amp;gt; (in the part 3. when the participant should click on three squares, you can see the last cross that the participant clicked).&lt;br/&gt;&lt;br/&gt;The problem is that you perform the logic in &amp;lt;trial grid&amp;gt; /ontrialbegin. It will thus carry over from the last instance of the trial in the previous round.&lt;br/&gt;&lt;br/&gt;&amp;lt;trial grid&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.cross_num += 1]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ stimulusframes = [1=grid, 1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3] &lt;br/&gt;/ validresponse = (1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3)&lt;br/&gt;&lt;strong&gt;/ ontrialbegin = &lt;/strong&gt;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[if (trial.grid.response == "1.1") {text.1.1.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.2") {text.1.2.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.3") {text.1.3.item.1 = text.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "2.1") {text.2.1.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.2") {text.2.2.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.3") {text.2.3.item.1 = text.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "3.1") {text.3.1.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.2") {text.3.2.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.3") {text.3.3.item.1 = text.x.item.1}]&lt;br/&gt;/ branch = [if (values.cross_num &amp;lt; 3) trial.grid]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;You'll want to perform the logic /ontrialend instead.&lt;br/&gt;&lt;br/&gt;&amp;lt;trial grid&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.cross_num += 1]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ stimulusframes = [1=grid, 1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3] &lt;br/&gt;/ validresponse = (1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3)&lt;br/&gt;&lt;strong&gt;/ ontrialend = &lt;/strong&gt;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[if (trial.grid.response == "1.1") {text.1.1.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.2") {text.1.2.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.3") {text.1.3.item.1 = text.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "2.1") {text.2.1.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.2") {text.2.2.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.3") {text.2.3.item.1 = text.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "3.1") {text.3.1.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.2") {text.3.2.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.3") {text.3.3.item.1 = text.x.item.1}]&lt;br/&gt;/ branch = [if (values.cross_num &amp;lt; 3) trial.grid]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="20636"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;That's perfect now, thanks supreme being! A last thing: Is it possible that after the third click the grid stay there for 1 sec, so the participant can see where he/she has put the third cross?&lt;br/&gt;&lt;br/&gt;Thank you,&lt;br/&gt;&lt;br/&gt;Elena</description><pubDate>Mon, 06 Feb 2017 02:36:48 GMT</pubDate><dc:creator>tecnika</dc:creator></item><item><title>RE: mouse click pattern repeating</title><link>https://forums.millisecond.com/Topic20636.aspx</link><description>&lt;div data-id="20633" class="if-quote-wrapper" unselectable="on" data-guid="1486141411202"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20633" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20633" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20633" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;ebroggin - Friday, February 3, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20633"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="20632" class="if-quote-wrapper" unselectable="on" data-guid="1486141411202"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20632" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20632" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20632" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, February 3, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20632"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="20631" class="if-quote-wrapper" unselectable="on" data-guid="1486141411202"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20631" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20631" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20631" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;ebroggin - Friday, February 3, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20631"&gt;&lt;div class="if-quote-message-margin"&gt;Hello,&lt;br/&gt;&lt;br/&gt;I am trying to program the following task:&lt;br/&gt;&lt;ol&gt;&lt;li&gt;present a pattern of cross in a 3x3 grid --&amp;gt; done&amp;nbsp;&lt;/li&gt;&lt;li&gt;presenting a decision making task --&amp;gt; done&lt;/li&gt;&lt;li&gt;present a 3x3 grid where the participant will need to mouse click in the same position of the previously seen pattern ---&amp;gt; need to be adjusted&lt;/li&gt;&lt;/ol&gt;What happens is that the first series of trials is ok, but the trials that follow has in point 3. the old pattern clicked. How can I avoid that and have always in part three a white grid at the beginning?&lt;br/&gt;&lt;br/&gt;Please see experiment attached. Let me know if you need further information. I have just include the file Easy1 (for the pattern of dots and the fathigh example)&lt;br/&gt;&lt;br/&gt;Thank you very very much,&lt;br/&gt;&lt;br/&gt;Elena&lt;a class="if-quote-goto quote-link" href="#" data-id="20631"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;You set the the various &amp;lt;picture&amp;gt; elements to specific items based on response in &amp;lt;trial grid&amp;gt;:&lt;br/&gt;&lt;br/&gt;&amp;lt;trial grid&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.cross_num += 1]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ stimulusframes = [1=grid, 1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3] &lt;br/&gt;/ validresponse = (1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3)&lt;br/&gt;&lt;strong&gt;/ ontrialbegin = &lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[if (trial.grid.response == "1.1") {picture.1.1.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.2") {picture.1.2.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.3") {picture.1.3.item.1 = picture.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "2.1") {picture.2.1.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.2") {picture.2.2.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.3") {picture.2.3.item.1 = picture.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "3.1") {picture.3.1.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.2") {picture.3.2.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.3") {picture.3.3.item.1 = picture.x.item.1}]&lt;/strong&gt;&lt;br/&gt;/ branch = [if (values.cross_num &amp;lt; 3) trial.grid]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;You need to reverse that at the start of each "round", i.e. /onblockbegin set the various picture elements *back* to their original items.&lt;br/&gt;&lt;br/&gt;&amp;lt;block verbal_experiment&amp;gt;&lt;br/&gt;/ onblockbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.1.1.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.1.2.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.1.3.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.2.1.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.2.2.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.2.3.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.3.1.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.3.2.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.3.3.item.1 = picture.square.item.1;&lt;br/&gt;]&lt;br/&gt;/ trials = [1 = easy; 2 = verbal; 3= grid; 4= pause] &lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture square&amp;gt;&lt;br/&gt;/ items = ("square.png")&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="20632"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;Hello,&lt;br/&gt;&lt;br/&gt;Many thanks for your reply,&lt;br/&gt;&lt;br/&gt;I have done that, but from the second block (in the part 3. when the participant should click on three squares, you can see the last cross that the participant clicked)...Is it possible to show just an empty grid at the beginning of each part 3. (so the participant can reproduce the pattern see in part1.)?&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;&lt;br/&gt;Elena&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="20633"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;&amp;gt; (in the part 3. when the participant should click on three squares, you can see the last cross that the participant clicked).&lt;br/&gt;&lt;br/&gt;The problem is that you perform the logic in &amp;lt;trial grid&amp;gt; /ontrialbegin. It will thus carry over from the last instance of the trial in the previous round.&lt;br/&gt;&lt;br/&gt;&amp;lt;trial grid&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.cross_num += 1]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ stimulusframes = [1=grid, 1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3] &lt;br/&gt;/ validresponse = (1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3)&lt;br/&gt;&lt;strong&gt;/ ontrialbegin = &lt;/strong&gt;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[if (trial.grid.response == "1.1") {text.1.1.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.2") {text.1.2.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.3") {text.1.3.item.1 = text.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "2.1") {text.2.1.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.2") {text.2.2.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.3") {text.2.3.item.1 = text.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "3.1") {text.3.1.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.2") {text.3.2.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.3") {text.3.3.item.1 = text.x.item.1}]&lt;br/&gt;/ branch = [if (values.cross_num &amp;lt; 3) trial.grid]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;You'll want to perform the logic /ontrialend instead.&lt;br/&gt;&lt;br/&gt;&amp;lt;trial grid&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.cross_num += 1]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ stimulusframes = [1=grid, 1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3] &lt;br/&gt;/ validresponse = (1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3)&lt;br/&gt;&lt;strong&gt;/ ontrialend = &lt;/strong&gt;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[if (trial.grid.response == "1.1") {text.1.1.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.2") {text.1.2.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.3") {text.1.3.item.1 = text.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "2.1") {text.2.1.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.2") {text.2.2.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.3") {text.2.3.item.1 = text.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "3.1") {text.3.1.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.2") {text.3.2.item.1 = text.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.3") {text.3.3.item.1 = text.x.item.1}]&lt;br/&gt;/ branch = [if (values.cross_num &amp;lt; 3) trial.grid]&lt;br/&gt;&amp;lt;/trial&amp;gt;</description><pubDate>Fri, 03 Feb 2017 09:13:11 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: mouse click pattern repeating</title><link>https://forums.millisecond.com/Topic20633.aspx</link><description>&lt;div data-id="20632" class="if-quote-wrapper" unselectable="on" data-guid="1486138207136"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20632" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20632" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20632" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Friday, February 3, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20632"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="20631" class="if-quote-wrapper" unselectable="on" data-guid="1486138207136"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20631" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20631" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20631" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;ebroggin - Friday, February 3, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20631"&gt;&lt;div class="if-quote-message-margin"&gt;Hello,&lt;br/&gt;&lt;br/&gt;I am trying to program the following task:&lt;br/&gt;&lt;ol&gt;&lt;li&gt;present a pattern of cross in a 3x3 grid --&amp;gt; done&amp;nbsp;&lt;/li&gt;&lt;li&gt;presenting a decision making task --&amp;gt; done&lt;/li&gt;&lt;li&gt;present a 3x3 grid where the participant will need to mouse click in the same position of the previously seen pattern ---&amp;gt; need to be adjusted&lt;/li&gt;&lt;/ol&gt;What happens is that the first series of trials is ok, but the trials that follow has in point 3. the old pattern clicked. How can I avoid that and have always in part three a white grid at the beginning?&lt;br/&gt;&lt;br/&gt;Please see experiment attached. Let me know if you need further information. I have just include the file Easy1 (for the pattern of dots and the fathigh example)&lt;br/&gt;&lt;br/&gt;Thank you very very much,&lt;br/&gt;&lt;br/&gt;Elena&lt;a class="if-quote-goto quote-link" href="#" data-id="20631"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;You set the the various &amp;lt;picture&amp;gt; elements to specific items based on response in &amp;lt;trial grid&amp;gt;:&lt;br/&gt;&lt;br/&gt;&amp;lt;trial grid&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.cross_num += 1]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ stimulusframes = [1=grid, 1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3] &lt;br/&gt;/ validresponse = (1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3)&lt;br/&gt;&lt;strong&gt;/ ontrialbegin = &lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[if (trial.grid.response == "1.1") {picture.1.1.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.2") {picture.1.2.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.3") {picture.1.3.item.1 = picture.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "2.1") {picture.2.1.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.2") {picture.2.2.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.3") {picture.2.3.item.1 = picture.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "3.1") {picture.3.1.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.2") {picture.3.2.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.3") {picture.3.3.item.1 = picture.x.item.1}]&lt;/strong&gt;&lt;br/&gt;/ branch = [if (values.cross_num &amp;lt; 3) trial.grid]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;You need to reverse that at the start of each "round", i.e. /onblockbegin set the various picture elements *back* to their original items.&lt;br/&gt;&lt;br/&gt;&amp;lt;block verbal_experiment&amp;gt;&lt;br/&gt;/ onblockbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.1.1.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.1.2.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.1.3.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.2.1.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.2.2.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.2.3.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.3.1.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.3.2.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.3.3.item.1 = picture.square.item.1;&lt;br/&gt;]&lt;br/&gt;/ trials = [1 = easy; 2 = verbal; 3= grid; 4= pause] &lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture square&amp;gt;&lt;br/&gt;/ items = ("square.png")&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="20632"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;Hello,&lt;br/&gt;&lt;br/&gt;Many thanks for your reply,&lt;br/&gt;&lt;br/&gt;I have done that, but from the second block (in the part 3. when the participant should click on three squares, you can see the last cross that the participant clicked)...Is it possible to show just an empty grid at the beginning of each part 3. (so the participant can reproduce the pattern see in part1.)?&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;&lt;br/&gt;Elena&lt;br/&gt;&lt;br/&gt;</description><pubDate>Fri, 03 Feb 2017 08:12:58 GMT</pubDate><dc:creator>tecnika</dc:creator></item><item><title>RE: mouse click pattern repeating</title><link>https://forums.millisecond.com/Topic20632.aspx</link><description>&lt;div data-id="20631" class="if-quote-wrapper" unselectable="on" data-guid="1486135877391"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="20631" title="Move Cursor Below" contenteditable="false"&gt;&lt;span unselectable="on"&gt;+&lt;/span&gt;&lt;/a&gt;&lt;a class="quote-delete" unselectable="on" style="display: none;" href="#" data-id="20631" title="Delete Quote" contenteditable="false"&gt;&lt;span unselectable="on"&gt;x&lt;/span&gt;&lt;/a&gt;&lt;span unselectable="on" class="quote-markup"&gt;[quote]&lt;/span&gt;&lt;div unselectable="on" class="if-quote-header" contenteditable="false"&gt;&lt;div unselectable="on" class="if-quote-toggle-wrapper"&gt;&lt;a class="if-quote-toggle quote-link" href="#" data-id="20631" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;ebroggin - Friday, February 3, 2017&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-20631"&gt;&lt;div class="if-quote-message-margin"&gt;Hello,&lt;br/&gt;&lt;br/&gt;I am trying to program the following task:&lt;br/&gt;&lt;ol&gt;&lt;li&gt;present a pattern of cross in a 3x3 grid --&amp;gt; done&amp;nbsp;&lt;/li&gt;&lt;li&gt;presenting a decision making task --&amp;gt; done&lt;/li&gt;&lt;li&gt;present a 3x3 grid where the participant will need to mouse click in the same position of the previously seen pattern ---&amp;gt; need to be adjusted&lt;/li&gt;&lt;/ol&gt;What happens is that the first series of trials is ok, but the trials that follow has in point 3. the old pattern clicked. How can I avoid that and have always in part three a white grid at the beginning?&lt;br/&gt;&lt;br/&gt;Please see experiment attached. Let me know if you need further information. I have just include the file Easy1 (for the pattern of dots and the fathigh example)&lt;br/&gt;&lt;br/&gt;Thank you very very much,&lt;br/&gt;&lt;br/&gt;Elena&lt;a class="if-quote-goto quote-link" href="#" data-id="20631"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/div&gt;&lt;br/&gt;You set the the various &amp;lt;picture&amp;gt; elements to specific items based on response in &amp;lt;trial grid&amp;gt;:&lt;br/&gt;&lt;br/&gt;&amp;lt;trial grid&amp;gt;&lt;br/&gt;/ ontrialbegin = [values.cross_num += 1]&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ stimulusframes = [1=grid, 1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3] &lt;br/&gt;/ validresponse = (1.1,1.2,1.3,2.1,2.2,2.3,3.1,3.2,3.3)&lt;br/&gt;&lt;strong&gt;/ ontrialbegin = &lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;[if (trial.grid.response == "1.1") {picture.1.1.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.2") {picture.1.2.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "1.3") {picture.1.3.item.1 = picture.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "2.1") {picture.2.1.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.2") {picture.2.2.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "2.3") {picture.2.3.item.1 = picture.x.item.1}&lt;br/&gt;&lt;br/&gt;else if (trial.grid.response == "3.1") {picture.3.1.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.2") {picture.3.2.item.1 = picture.x.item.1}&lt;br/&gt;else if (trial.grid.response == "3.3") {picture.3.3.item.1 = picture.x.item.1}]&lt;/strong&gt;&lt;br/&gt;/ branch = [if (values.cross_num &amp;lt; 3) trial.grid]&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;You need to reverse that at the start of each "round", i.e. /onblockbegin set the various picture elements *back* to their original items.&lt;br/&gt;&lt;br/&gt;&amp;lt;block verbal_experiment&amp;gt;&lt;br/&gt;/ onblockbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.1.1.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.1.2.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.1.3.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.2.1.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.2.2.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.2.3.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.3.1.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.3.2.item.1 = picture.square.item.1;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; picture.3.3.item.1 = picture.square.item.1;&lt;br/&gt;]&lt;br/&gt;/ trials = [1 = easy; 2 = verbal; 3= grid; 4= pause] &lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;picture square&amp;gt;&lt;br/&gt;/ items = ("square.png")&lt;br/&gt;&amp;lt;/picture&amp;gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Fri, 03 Feb 2017 07:41:03 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>