﻿<?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 5  » valid response syntax</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Sat, 12 Sep 2026 15:40:40 GMT</lastBuildDate><ttl>20</ttl><item><title>valid response syntax</title><link>https://forums.millisecond.com/Topic26035.aspx</link><description>Hi Inquisit Community,&lt;br/&gt;I wonder whether the valid response can be specified when presenting two overlapped stimuli.&lt;br/&gt;I wish the valid response is specified as only the blue part but including not the overlapping part.&lt;br/&gt;for example I was looking for something like&lt;br/&gt;/ stimulustimes = [0=Layer1,Layer2]&lt;br/&gt;/ validresponse = (Layer1 &amp;amp; -Layer2)&amp;nbsp;&lt;br/&gt;Is there a way to do this?&lt;br/&gt;Thank you in advance.&lt;br/&gt;&lt;img src="https://www.millisecond.com/forums/Uploads/Images/c1515164-24ad-4ef9-96af-38db.PNG" alt="https://www.millisecond.com/forums/Uploads/Images/c1515164-24ad-4ef9-96af-38db.PNG" /&gt;&lt;br/&gt;</description><pubDate>Tue, 13 Nov 2018 07:17:51 GMT</pubDate><dc:creator>nakayama</dc:creator></item><item><title>RE: valid response syntax</title><link>https://forums.millisecond.com/Topic26059.aspx</link><description>&lt;div data-id="26057" class="if-quote-wrapper" unselectable="on" data-guid="1542122233945"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26057" 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="26057" 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="26057" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;nakayama - Tuesday, November 13, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26057"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="26037" class="if-quote-wrapper" unselectable="on" data-guid="1542122233945"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26037" 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="26037" 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="26037" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Thursday, November 8, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26037"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="26035" class="if-quote-wrapper" unselectable="on" data-guid="1542122233945"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26035" 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="26035" 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="26035" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;nakayama - Wednesday, November 7, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26035"&gt;&lt;div class="if-quote-message-margin"&gt;Hi Inquisit Community,&lt;br/&gt;I wonder whether the valid response can be specified when presenting two overlapped stimuli.&lt;br/&gt;I wish the valid response is specified as only the blue part but including not the overlapping part.&lt;br/&gt;for example I was looking for something like&lt;br/&gt;/ stimulustimes = [0=Layer1,Layer2]&lt;br/&gt;/ validresponse = (Layer1 &amp;amp; -Layer2)&amp;nbsp;&lt;br/&gt;Is there a way to do this?&lt;br/&gt;Thank you in advance.&lt;br/&gt;&lt;img src="https://www.millisecond.com/forums/Uploads/Images/c1515164-24ad-4ef9-96af-38db.PNG" alt="https://www.millisecond.com/forums/Uploads/Images/c1515164-24ad-4ef9-96af-38db.PNG"&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26035"&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;Yes, this can be done via /isvalidresponse:&lt;br/&gt;&lt;br/&gt;&amp;lt;shape layer1&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = blue&lt;br/&gt;/ size = (60%, 40%)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape layer2&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = red&lt;br/&gt;/ size = (50%, 30%)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;// order in /validresponse matters, we'll check layer2 first&lt;br/&gt;// we invalidate any click within layer2 per /isvalidresponse&lt;br/&gt;// result: only clicks within layer1, excluding the area covered by layer2, are accepted as response.&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ stimulusframes = [1=layer1, layer2]&lt;br/&gt;&lt;strong&gt;/ validresponse = (layer2, layer1)&lt;br/&gt;/ isvalidresponse = [&lt;br/&gt;if (trial.mytrial.response == "layer2") false else true;&lt;br/&gt;]&lt;/strong&gt;&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1-4 = mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26037"&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;Hi Dave,&lt;br/&gt;may I&amp;nbsp;add another question down here?&lt;br/&gt;I want to know whether the Inquisit5 allows to create some rotating shapes (fro example rotate right 30deg) like this.&lt;br/&gt;Is there one syntax to do this?&lt;br/&gt;Thank you;)&lt;br/&gt;&lt;img src="https://www.millisecond.com/forums/Uploads/Images/0c2094ba-2f97-4e97-8a11-202e.PNG" alt="https://www.millisecond.com/forums/Uploads/Images/0c2094ba-2f97-4e97-8a11-202e.PNG"&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26057"&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;No, I'm afraid rotating stimuli is currently not among its capabilities.&lt;br/&gt;</description><pubDate>Tue, 13 Nov 2018 07:17:51 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: valid response syntax</title><link>https://forums.millisecond.com/Topic26057.aspx</link><description>&lt;div data-id="26037" class="if-quote-wrapper" unselectable="on" data-guid="1542112713771"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26037" 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="26037" 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="26037" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Thursday, November 8, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26037"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="26035" class="if-quote-wrapper" unselectable="on" data-guid="1542112713771"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26035" 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="26035" 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="26035" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;nakayama - Wednesday, November 7, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26035"&gt;&lt;div class="if-quote-message-margin"&gt;Hi Inquisit Community,&lt;br/&gt;I wonder whether the valid response can be specified when presenting two overlapped stimuli.&lt;br/&gt;I wish the valid response is specified as only the blue part but including not the overlapping part.&lt;br/&gt;for example I was looking for something like&lt;br/&gt;/ stimulustimes = [0=Layer1,Layer2]&lt;br/&gt;/ validresponse = (Layer1 &amp;amp; -Layer2)&amp;nbsp;&lt;br/&gt;Is there a way to do this?&lt;br/&gt;Thank you in advance.&lt;br/&gt;&lt;img src="https://www.millisecond.com/forums/Uploads/Images/c1515164-24ad-4ef9-96af-38db.PNG" alt="https://www.millisecond.com/forums/Uploads/Images/c1515164-24ad-4ef9-96af-38db.PNG"&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26035"&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;Yes, this can be done via /isvalidresponse:&lt;br/&gt;&lt;br/&gt;&amp;lt;shape layer1&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = blue&lt;br/&gt;/ size = (60%, 40%)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape layer2&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = red&lt;br/&gt;/ size = (50%, 30%)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;// order in /validresponse matters, we'll check layer2 first&lt;br/&gt;// we invalidate any click within layer2 per /isvalidresponse&lt;br/&gt;// result: only clicks within layer1, excluding the area covered by layer2, are accepted as response.&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ stimulusframes = [1=layer1, layer2]&lt;br/&gt;&lt;strong&gt;/ validresponse = (layer2, layer1)&lt;br/&gt;/ isvalidresponse = [&lt;br/&gt;if (trial.mytrial.response == "layer2") false else true;&lt;br/&gt;]&lt;/strong&gt;&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1-4 = mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26037"&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;Hi Dave,&lt;br/&gt;may I&amp;nbsp;add another question down here?&lt;br/&gt;I want to know whether the Inquisit5 allows to create some rotating shapes (fro example rotate right 30deg) like this.&lt;br/&gt;Is there one syntax to do this?&lt;br/&gt;Thank you;)&lt;br/&gt;&lt;img src="https://www.millisecond.com/forums/Uploads/Images/0c2094ba-2f97-4e97-8a11-202e.PNG" alt="https://www.millisecond.com/forums/Uploads/Images/0c2094ba-2f97-4e97-8a11-202e.PNG" /&gt;</description><pubDate>Tue, 13 Nov 2018 04:49:18 GMT</pubDate><dc:creator>nakayama</dc:creator></item><item><title>RE: valid response syntax</title><link>https://forums.millisecond.com/Topic26056.aspx</link><description>&lt;div data-id="26037" class="if-quote-wrapper" unselectable="on" data-guid="1542108931084"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26037" 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="26037" 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="26037" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - Thursday, November 8, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26037"&gt;&lt;div class="if-quote-message-margin"&gt;&lt;div data-id="26035" class="if-quote-wrapper" unselectable="on" data-guid="1542108931084"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26035" 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="26035" 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="26035" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;nakayama - Wednesday, November 7, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26035"&gt;&lt;div class="if-quote-message-margin"&gt;Hi Inquisit Community,&lt;br/&gt;I wonder whether the valid response can be specified when presenting two overlapped stimuli.&lt;br/&gt;I wish the valid response is specified as only the blue part but including not the overlapping part.&lt;br/&gt;for example I was looking for something like&lt;br/&gt;/ stimulustimes = [0=Layer1,Layer2]&lt;br/&gt;/ validresponse = (Layer1 &amp;amp; -Layer2)&amp;nbsp;&lt;br/&gt;Is there a way to do this?&lt;br/&gt;Thank you in advance.&lt;br/&gt;&lt;img src="https://www.millisecond.com/forums/Uploads/Images/c1515164-24ad-4ef9-96af-38db.PNG" alt="https://www.millisecond.com/forums/Uploads/Images/c1515164-24ad-4ef9-96af-38db.PNG"&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26035"&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;Yes, this can be done via /isvalidresponse:&lt;br/&gt;&lt;br/&gt;&amp;lt;shape layer1&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = blue&lt;br/&gt;/ size = (60%, 40%)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape layer2&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = red&lt;br/&gt;/ size = (50%, 30%)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;// order in /validresponse matters, we'll check layer2 first&lt;br/&gt;// we invalidate any click within layer2 per /isvalidresponse&lt;br/&gt;// result: only clicks within layer1, excluding the area covered by layer2, are accepted as response.&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ stimulusframes = [1=layer1, layer2]&lt;br/&gt;&lt;strong&gt;/ validresponse = (layer2, layer1)&lt;br/&gt;/ isvalidresponse = [&lt;br/&gt;if (trial.mytrial.response == "layer2") false else true;&lt;br/&gt;]&lt;/strong&gt;&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1-4 = mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26037"&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;thank you Dave! it works very well:)&lt;br/&gt;</description><pubDate>Tue, 13 Nov 2018 03:35:44 GMT</pubDate><dc:creator>nakayama</dc:creator></item><item><title>RE: valid response syntax</title><link>https://forums.millisecond.com/Topic26037.aspx</link><description>&lt;div data-id="26035" class="if-quote-wrapper" unselectable="on" data-guid="1541690636478"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="26035" 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="26035" 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="26035" title=" "&gt;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;nakayama - Wednesday, November 7, 2018&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-26035"&gt;&lt;div class="if-quote-message-margin"&gt;Hi Inquisit Community,&lt;br/&gt;I wonder whether the valid response can be specified when presenting two overlapped stimuli.&lt;br/&gt;I wish the valid response is specified as only the blue part but including not the overlapping part.&lt;br/&gt;for example I was looking for something like&lt;br/&gt;/ stimulustimes = [0=Layer1,Layer2]&lt;br/&gt;/ validresponse = (Layer1 &amp;amp; -Layer2)&amp;nbsp;&lt;br/&gt;Is there a way to do this?&lt;br/&gt;Thank you in advance.&lt;br/&gt;&lt;img src="https://www.millisecond.com/forums/Uploads/Images/c1515164-24ad-4ef9-96af-38db.PNG" alt="https://www.millisecond.com/forums/Uploads/Images/c1515164-24ad-4ef9-96af-38db.PNG"&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="26035"&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;Yes, this can be done via /isvalidresponse:&lt;br/&gt;&lt;br/&gt;&amp;lt;shape layer1&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = blue&lt;br/&gt;/ size = (60%, 40%)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;shape layer2&amp;gt;&lt;br/&gt;/ shape = rectangle&lt;br/&gt;/ color = red&lt;br/&gt;/ size = (50%, 30%)&lt;br/&gt;&amp;lt;/shape&amp;gt;&lt;br/&gt;&lt;br/&gt;// order in /validresponse matters, we'll check layer2 first&lt;br/&gt;// we invalidate any click within layer2 per /isvalidresponse&lt;br/&gt;// result: only clicks within layer1, excluding the area covered by layer2, are accepted as response.&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ inputdevice = mouse&lt;br/&gt;/ stimulusframes = [1=layer1, layer2]&lt;br/&gt;&lt;strong&gt;/ validresponse = (layer2, layer1)&lt;br/&gt;/ isvalidresponse = [&lt;br/&gt;if (trial.mytrial.response == "layer2") false else true;&lt;br/&gt;]&lt;/strong&gt;&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1-4 = mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;</description><pubDate>Thu, 08 Nov 2018 07:32:24 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>