﻿<?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  » Detecting current (mouse) button state</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 13:30:44 GMT</lastBuildDate><ttl>20</ttl><item><title>Detecting current (mouse) button state</title><link>https://forums.millisecond.com/Topic35609.aspx</link><description>I'm building a version of the Approach Avoidance Task for tablets that needs to throw an error message whenever the participant lifts their finger up from the screen. I could program this by specifying lbuttonup as a valid response for each trial and branching to an error screen whenever that is the response. However, that would require a rather tedious rework of my current script that I would rather avoid; after all, those same trials use the isvalidresponse attribute which I would then have to drop somehow. &lt;br/&gt;Thus I would like to be able to check at the end of each trial whether the left mouse button is currently being pressed or not. Is it possible to get this information in inquisit 6?&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 29 Aug 2023 11:28:14 GMT</pubDate><dc:creator>Sercan</dc:creator></item><item><title>RE: Detecting current (mouse) button state</title><link>https://forums.millisecond.com/Topic35613.aspx</link><description>&lt;blockquote data-id="35612" class="if-quote-wrapper" unselectable="on" data-guid="1693308460251" contenteditable="false" id="if_insertedNode_1693308459794"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35612" 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="35612" 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="35612" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sercan - 8/29/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35612"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="35610" class="if-quote-wrapper" unselectable="on" data-guid="1693308460251" id="if_insertedNode_1693295780933" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35610" 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="35610" 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="35610" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 8/28/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35610"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="35609" class="if-quote-wrapper" unselectable="on" data-guid="1693308460251" id="if_insertedNode_1693242561977" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35609" 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="35609" 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="35609" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sercan - 8/28/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35609"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I'm building a version of the Approach Avoidance Task for tablets that needs to throw an error message whenever the participant lifts their finger up from the screen. I could program this by specifying lbuttonup as a valid response for each trial and branching to an error screen whenever that is the response. However, that would require a rather tedious rework of my current script that I would rather avoid; after all, those same trials use the isvalidresponse attribute which I would then have to drop somehow. &lt;br/&gt;Thus I would like to be able to check at the end of each trial whether the left mouse button is currently being pressed or not. Is it possible to get this information in inquisit 6?&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="35609"&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;You'd have to detect lbuttonup as a response, the state of mouse buttons is not exposed independently.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="35610"&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;Will it be recorded as a lbuttonup response if the participant lifts up their finger from the tablet?&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="35612"&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;It should be, if you opt to record it.</description><pubDate>Tue, 29 Aug 2023 11:28:14 GMT</pubDate><dc:creator>Dave</dc:creator></item><item><title>RE: Detecting current (mouse) button state</title><link>https://forums.millisecond.com/Topic35612.aspx</link><description>&lt;blockquote data-id="35610" class="if-quote-wrapper" unselectable="on" data-guid="1693295781775" id="if_insertedNode_1693295780933" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35610" 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="35610" 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="35610" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Dave - 8/28/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35610"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;&lt;blockquote data-id="35609" class="if-quote-wrapper" unselectable="on" data-guid="1693295781775" id="if_insertedNode_1693242561977" contenteditable="false"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35609" 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="35609" 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="35609" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sercan - 8/28/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35609"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I'm building a version of the Approach Avoidance Task for tablets that needs to throw an error message whenever the participant lifts their finger up from the screen. I could program this by specifying lbuttonup as a valid response for each trial and branching to an error screen whenever that is the response. However, that would require a rather tedious rework of my current script that I would rather avoid; after all, those same trials use the isvalidresponse attribute which I would then have to drop somehow. &lt;br/&gt;Thus I would like to be able to check at the end of each trial whether the left mouse button is currently being pressed or not. Is it possible to get this information in inquisit 6?&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="35609"&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;You'd have to detect lbuttonup as a response, the state of mouse buttons is not exposed independently.&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="35610"&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;Will it be recorded as a lbuttonup response if the participant lifts up their finger from the tablet?&lt;br/&gt;</description><pubDate>Tue, 29 Aug 2023 07:56:53 GMT</pubDate><dc:creator>Sercan</dc:creator></item><item><title>RE: Detecting current (mouse) button state</title><link>https://forums.millisecond.com/Topic35610.aspx</link><description>&lt;blockquote data-id="35609" class="if-quote-wrapper" unselectable="on" data-guid="1693242562822" contenteditable="false" id="if_insertedNode_1693242561977"&gt;&lt;a class="quote-para" unselectable="on" style="display: none;" href="#" data-id="35609" 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="35609" 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="35609" title=" "&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;&lt;span unselectable="on" class="quote-markup"&gt;[b]&lt;/span&gt;Sercan - 8/28/2023&lt;span unselectable="on" class="quote-markup"&gt;[/b]&lt;/span&gt;&lt;/div&gt;&lt;div class="if-quote-message if-quote-message-35609"&gt;&lt;div class="if-quote-message-margin" contenteditable="true"&gt;I'm building a version of the Approach Avoidance Task for tablets that needs to throw an error message whenever the participant lifts their finger up from the screen. I could program this by specifying lbuttonup as a valid response for each trial and branching to an error screen whenever that is the response. However, that would require a rather tedious rework of my current script that I would rather avoid; after all, those same trials use the isvalidresponse attribute which I would then have to drop somehow. &lt;br/&gt;Thus I would like to be able to check at the end of each trial whether the left mouse button is currently being pressed or not. Is it possible to get this information in inquisit 6?&lt;br/&gt;&lt;br/&gt;&lt;a class="if-quote-goto quote-link" href="#" data-id="35609"&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;You'd have to detect lbuttonup as a response, the state of mouse buttons is not exposed independently.&lt;br/&gt;</description><pubDate>Mon, 28 Aug 2023 17:24:17 GMT</pubDate><dc:creator>Dave</dc:creator></item></channel></rss>