<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Different mouse position trigger different value]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1520598087643-102.jpg" /></p><p>Here is the stage. How can I move the mouse to the app store icon and then trigger value 1. If not, trigger value 0? thank all.</p><img src="/assets/uploads/files/1520598187201-螢幕擷取畫面-43-resized.png" /><p></p>
]]></description><link>https://community.troikatronix.com/topic/5090/different-mouse-position-trigger-different-value</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 12:06:05 GMT</lastBuildDate><atom:link href="https://community.troikatronix.com/topic/5090.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 09 Mar 2018 12:24:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Different mouse position trigger different value on Sat, 10 Mar 2018 14:04:48 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2715">@henryfung1515</a> said:</p>
<blockquote> then trigger value 1. If not, trigger value 0</blockquote>
<p> Hi Henry,</p>
<p>Perhaps this method will help you. It defines a 'hotspot' for the Stage Mouse Watcher within a flexible horizontal and vertical range located in the bounds of the stage.</p>
<p>I am suggesting that the 'Stage Mouse Watcher' has a condition set for both the vertical range and the horizontal range which are returned as 1 or 0 by the 'Inside Range' actors, then a calculator adds 1 + 1 to get 2 and a 'Comparator' then looks for the 2 and activates a looping sequence. So the system looks for a 2 then activates a sequence if the mouse is within the 'hotspot', if any other number is returned to the Comparator (0 or 1 when the mouse is somewhere else on the stage) the loop is not active. It is the 'Output' of the Comparator that changes from 1/0 if the condition is true or false, so it is here that we pick up the switching action to activate and deactivate the loop through the on/off input of a 'Pulse Generator'. Using the Pulse Generator creates the looping action that continues for as long as the mouse is hovering within the hotspot. In this example the pulse trigger activates two 'Envelope Generator++' that apply ramping effects to the actors associated with the displayed images - rotating one through a '3D Quad Distort' actor and the 'Intensity' input of the stage Projector. The 3D Quad Distort picture mimics the movement of the mouse and this is calibrated through two 'Limit Scale Value' actors so that the icon mimicking the mouse movement is accurate to the x/y coordinates of the system mouse arrow movement.</p>
<p>And here is a short video of the stage in action: <a href="https://www.dropbox.com/s/zv6d3h6gqfztglz/Isadora_Hotspot-1.mov?dl=0">https://www.dropbox.com/s/zv6d...</a><br /></p>
<p><img src="/assets/uploads/files/1520606968028-isadora_hotspot_screengrab.png" style="cursor:pointer" /></p>
<p>Best  Wishes</p>
<p>bonemap</p>]]></description><link>https://community.troikatronix.com/post/29787</link><guid isPermaLink="true">https://community.troikatronix.com/post/29787</guid><dc:creator><![CDATA[bonemap]]></dc:creator><pubDate>Sat, 10 Mar 2018 14:04:48 GMT</pubDate></item></channel></rss>