<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Lua: Finding mouse screen X and Y in Stingray Forum (Read Only)</title>
    <link>https://forums.autodesk.com/t5/stingray-forum-read-only/lua-finding-mouse-screen-x-and-y/m-p/5796134#M819</link>
    <description>&lt;P&gt;Hi Kaine,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you wanting to do this with scaleform as a UI functionality or in your game with mouse focus?&lt;/P&gt;</description>
    <pubDate>Mon, 31 Aug 2015 16:43:06 GMT</pubDate>
    <dc:creator>dan.matlack</dc:creator>
    <dc:date>2015-08-31T16:43:06Z</dc:date>
    <item>
      <title>Lua: Finding mouse screen X and Y</title>
      <link>https://forums.autodesk.com/t5/stingray-forum-read-only/lua-finding-mouse-screen-x-and-y/m-p/5795987#M813</link>
      <description>&lt;P&gt;Hey!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been attempting to find the (x,y) coordinates of the mouse. I understand that&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;stingray.Mouse.axis(stingray.Mouse.axis_id("mouse"))&lt;/PRE&gt;&lt;P&gt;will return the mouse delta, and I've tried every combination of words I can think of but I can't work out how to retrieve the actual x &amp;amp; y positions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Kaine&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2015 15:32:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/stingray-forum-read-only/lua-finding-mouse-screen-x-and-y/m-p/5795987#M813</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-31T15:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Lua: Finding mouse screen X and Y</title>
      <link>https://forums.autodesk.com/t5/stingray-forum-read-only/lua-finding-mouse-screen-x-and-y/m-p/5796134#M819</link>
      <description>&lt;P&gt;Hi Kaine,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you wanting to do this with scaleform as a UI functionality or in your game with mouse focus?&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2015 16:43:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/stingray-forum-read-only/lua-finding-mouse-screen-x-and-y/m-p/5796134#M819</guid>
      <dc:creator>dan.matlack</dc:creator>
      <dc:date>2015-08-31T16:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Lua: Finding mouse screen X and Y</title>
      <link>https://forums.autodesk.com/t5/stingray-forum-read-only/lua-finding-mouse-screen-x-and-y/m-p/5796176#M830</link>
      <description>&lt;P&gt;Hey Dan!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the moment I'm looking to do it in the game with mouse focus, though I'll need to learn it for scaleform at sometime so both would be great! But mainly in game.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 31 Aug 2015 17:09:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/stingray-forum-read-only/lua-finding-mouse-screen-x-and-y/m-p/5796176#M830</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-31T17:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: Lua: Finding mouse screen X and Y</title>
      <link>https://forums.autodesk.com/t5/stingray-forum-read-only/lua-finding-mouse-screen-x-and-y/m-p/5799999#M936</link>
      <description>&lt;P&gt;Hi Kaine,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can return the location of the cursor by using the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;stingray.Mouse.axis(stingray.Mouse.axis_id("cursor"), stingray.Mouse.RAW, 3).x,
stingray.Mouse.axis(stingray.Mouse.axis_id("cursor"), stingray.Mouse.RAW, 3).y)
&lt;/PRE&gt;</description>
      <pubDate>Wed, 02 Sep 2015 15:35:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/stingray-forum-read-only/lua-finding-mouse-screen-x-and-y/m-p/5799999#M936</guid>
      <dc:creator>dan.matlack</dc:creator>
      <dc:date>2015-09-02T15:35:37Z</dc:date>
    </item>
  </channel>
</rss>

