<doc>
  <legacy_id>1227</legacy_id>
  <name>mouseStack</name>
  <type>function</type>
  <syntax>
    <example>the mouseStack</example>
    <example>mouseStack()</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Windows &amp; Dialog Boxes</category>
    <category>User Interaction</category>
  </classification>
  <references>
    <command tag="focus">focus Command</command>
    <function tag="clickStack">clickStack Function</function>
    <function tag="mouseV">mouseV Function</function>
    <function tag="mouseCharChunk">mouseCharChunk Function</function>
    <function tag="mouseColor">mouseColor Function</function>
    <object tag="stack">stack Object</object>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary><glossary tag="return">Returns</glossary> the name of the window the <glossary tag="mouse pointer">mouse pointer</glossary> is over.</summary>
  <examples>
    <example>the mouseStack</example>
    <example>if the mouseStack is "Message box" then hide message</example>
  </examples>
  <description>
    <p>Use the <b>mouseStack</b> <control_st tag="function">function</control_st> to determine which window the mouse is over, or, in conjunction with the <function tag="mouseControl">mouseControl</function>, <function tag="mouseLine">mouseLine</function>, or <function tag="mouseChunk">mouseChunk</function>, to determine which <keyword tag="field">field</keyword> the mouse is over.</p><p/><p><b>Value:</b></p><p>The <b>mouseStack</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> the short <property tag="name">name</property> <glossary tag="property">property</glossary> of the window the mouse is over.</p><p/><p><b>Comments:</b></p><p>If the mouse is not over any LiveCode window, the <b>mouseStack</b> <glossary tag="return">returns</glossary> empty.</p><p/><p>If the mouse is over a stack's title bar or border, the  <b>mouseStack</b> <glossary tag="return">returns</glossary> empty.</p>
  </description>
</doc>