﻿<?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  » How to accept input during the stimulusframe?</title><generator>InstantForum 2017-1 Final</generator><description>Millisecond Forums</description><link>https://forums.millisecond.com/</link><webMaster>Millisecond Forums</webMaster><lastBuildDate>Thu, 16 Apr 2026 17:11:48 GMT</lastBuildDate><ttl>20</ttl><item><title>How to accept input during the stimulusframe?</title><link>https://forums.millisecond.com/Topic19725.aspx</link><description>I am implementing a flashing "x" on the screen, and the user will need to tap on the "x" as soon as it shows up on the screen. However, in order for the "x" to flash, I defined as following: &amp;nbsp;&lt;br/&gt;&amp;lt;trial target&amp;gt;&lt;br/&gt;/ stimulusframes = [1 = crossRed,beepsound; 20 = crossGreen, beepsound; &lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;40 = crossRed,beepsound; 60 = crossGreen, beepsound;&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;80 = crossRed,beepsound; 100 = crossGreen, beepsound;&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;120 = crossRed,beepsound; 140 = crossGreen, beepsound;]&lt;br/&gt;/ validresponse = (crossRed,crossGreen)&lt;br/&gt;/ correctresponse = (crossRed,crossGreen)&lt;br/&gt;/ timeout = parameters.timeOut&lt;br/&gt;&amp;lt;/trial&amp;gt;&lt;br/&gt;In this script, I have the cross to be flashing between red and green. But the inquisit does not accept the tap input until the 140 frames are completed.&amp;nbsp;&lt;br/&gt;I am asking if there is any way to let the inquisit accept users' input during the defined stimulus frames? So the user can tap on the cross while the cross is flashing. If not, is there anyway to create a flashing object?&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;&lt;br/&gt;Jia&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 27 Sep 2016 11:55:00 GMT</pubDate><dc:creator>jzhuang8</dc:creator></item><item><title>RE: How to accept input during the stimulusframe?</title><link>https://forums.millisecond.com/Topic19771.aspx</link><description>Thank you!!!</description><pubDate>Tue, 27 Sep 2016 11:55:00 GMT</pubDate><dc:creator>jzhuang8</dc:creator></item><item><title>RE: How to accept input during the stimulusframe?</title><link>https://forums.millisecond.com/Topic19726.aspx</link><description>&amp;gt; I am asking if there is any way to let the inquisit accept users' input during the defined stimulus frames? So the user can tap on the cross &lt;br/&gt;&amp;gt; while the cross is flashing. If not, is there anyway to create a flashing object?&lt;br/&gt;&lt;br/&gt;Yes. If you want the &amp;lt;trial&amp;gt; to accept responses prior to completion of its stimulus presentation sequence, you can do so by specifying the &amp;lt;trial&amp;gt;'s /beginresponsetime or /beginresponseframe attribute as in:&lt;br/&gt;&lt;br/&gt;&amp;lt;trial target&amp;gt;&lt;br/&gt;/ stimulusframes = [1 = crossRed,beepsound; 20 = crossGreen, beepsound; &lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;40 = crossRed,beepsound; 60 = crossGreen, beepsound;&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;80 = crossRed,beepsound; 100 = crossGreen, beepsound;&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;120 = crossRed,beepsound; 140 = crossGreen, beepsound;]&lt;br/&gt;/ validresponse = (crossRed,crossGreen)&lt;br/&gt;/ correctresponse = (crossRed,crossGreen)&lt;br/&gt;&lt;strong&gt;/ beginresponseframe = 1&lt;/strong&gt;&lt;br/&gt;/ timeout = parameters.timeOut&lt;br/&gt;&amp;lt;/trial&amp;gt;</description><pubDate>Tue, 20 Sep 2016 12:16:57 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>