﻿<?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 6  » How to get original stimuli to appear again after response stimuli duration is over, when they are overlapped?</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Tue, 22 Sep 2026 15:16:44 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: How to get original stimuli to appear again after response stimuli duration is over, when they are overlapped?</title><link>https://forums.millisecond.com/Topic30704.aspx</link><description>&lt;blockquote data-id="30703" class="if-quote-wrapper" unselectable="on" data-guid="1612388585445" id="if_insertedNode_1612388584521" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="30703" 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="30703" 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="30703" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;nidhi_desai - 2/3/2021&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-30703"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;In this example from another &lt;a href="https://www.millisecond.com/forums/Topic30477.aspx" id="if_insertedNode_1612387400926"&gt;post&lt;/a&gt;, I changed the response message text position to overlap with the stimulus times text in this trial. When the duration of text response is over, it covers the area of the text with a white rectangle. Instead, I am interested in having the original text mentioned in the stimulus times to be displayed again after the response duration is over. I need the stimulus times text and response tex to overlap in my experiment for some reason. Is there a way to achieve this without having to write multiple trials connected through branching?&lt;br/&gt;&lt;br/&gt;[code]&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1=mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ stop = [&lt;br/&gt;    trial.mytrial.elapsedtime &amp;gt;= 10000;&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0=clearscreen,mytext]&lt;br/&gt;/ validresponse = ("E", "I")&lt;br/&gt;/ responsemessage = ("E", Epress, 100)&lt;br/&gt;/ responsemessage = ("I", Ipress, 100)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text mytext&amp;gt;&lt;br/&gt;/ items = ("Press the E and I keys. You have 10 seconds.")&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text Epress&amp;gt;&lt;br/&gt;/ items = ("Pressed E")&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text Ipress&amp;gt;&lt;br/&gt;/ items = ("Pressed I")&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;&amp;lt;/text&amp;gt;[/code]&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="30703"&gt;&lt;span class="goto"&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[/quote]&lt;/span&gt;&lt;/blockquote&gt;&lt;br/&gt; &amp;gt; Is there a way to achieve this without having to write multiple trials connected through branching?&lt;br/&gt;&lt;br/&gt;The only way I can think of is to set up the trial to periodically re-draw the original stimuli to the screen:&lt;br/&gt;&lt;br/&gt;[code]&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1=mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;values&amp;gt;&lt;br/&gt;/ time = 0&lt;br/&gt;&amp;lt;/values&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ stop = [&lt;br/&gt;&amp;nbsp; trial.mytrial.elapsedtime &amp;gt;= 10000;&lt;br/&gt;]&lt;br/&gt;/ ontrialbegin = [&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;trial.mytrial.resetstimulusframes();&lt;br/&gt;&amp;nbsp;&amp;nbsp; values.time = 0;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;while (values.time &amp;lt; 10000) {&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; values.time += 500;&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;trial.mytrial.insertstimulustime(clearscreen, values.time);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;trial.mytrial.insertstimulustime(text.mytext, values.time);&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0=clearscreen,mytext;]&lt;br/&gt;/ beginresponsetime = 0&lt;br/&gt;/ validresponse = ("E", "I")&lt;br/&gt;/ responsemessage = ("E", Epress, 0)&lt;br/&gt;/ responsemessage = ("I", Ipress, 0)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text mytext&amp;gt;&lt;br/&gt;/ items = ("Press the E and I keys. You have 10 seconds.")&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text Epress&amp;gt;&lt;br/&gt;/ items = ("Pressed E")&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text Ipress&amp;gt;&lt;br/&gt;/ items = ("Pressed I")&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/text&amp;gt;[/code]&lt;br/&gt;</description><pubDate>Wed, 03 Feb 2021 22:32:19 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>How to get original stimuli to appear again after response stimuli duration is over, when they are overlapped?</title><link>https://forums.millisecond.com/Topic30703.aspx</link><description>In this example from another &lt;a href="https://www.millisecond.com/forums/Topic30477.aspx" id="if_insertedNode_1612387400926"&gt;post&lt;/a&gt;, I changed the response message text position to overlap with the stimulus times text in this trial. When the duration of text response is over, it covers the area of the text with a white rectangle. Instead, I am interested in having the original text mentioned in the stimulus times to be displayed again after the response duration is over. I need the stimulus times text and response tex to overlap in my experiment for some reason. Is there a way to achieve this without having to write multiple trials connected through branching?&lt;br/&gt;&lt;br/&gt;[code]&lt;br/&gt;&amp;lt;block myblock&amp;gt;&lt;br/&gt;/ trials = [1=mytrial]&lt;br/&gt;&amp;lt;/block&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;trial mytrial&amp;gt;&lt;br/&gt;/ stop = [&lt;br/&gt;    trial.mytrial.elapsedtime &amp;gt;= 10000;&lt;br/&gt;]&lt;br/&gt;/ stimulustimes = [0=clearscreen,mytext]&lt;br/&gt;/ validresponse = ("E", "I")&lt;br/&gt;/ responsemessage = ("E", Epress, 100)&lt;br/&gt;/ responsemessage = ("I", Ipress, 100)&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text mytext&amp;gt;&lt;br/&gt;/ items = ("Press the E and I keys. You have 10 seconds.")&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;/ erase = false&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text Epress&amp;gt;&lt;br/&gt;/ items = ("Pressed E")&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;&amp;lt;/text&amp;gt;&lt;br/&gt;&lt;br/&gt;&amp;lt;text Ipress&amp;gt;&lt;br/&gt;/ items = ("Pressed I")&lt;br/&gt;/ position = (50%, 50%)&lt;br/&gt;&amp;lt;/text&amp;gt;[/code]&lt;br/&gt;</description><pubDate>Wed, 03 Feb 2021 22:15:39 GMT</pubDate><dc:creator>nidhi_desai</dc:creator></item></channel></rss>