<doc>
  <legacy_id>2001</legacy_id>
  <name>mouseColor</name>
  <type>function</type>
  <syntax>
    <example>the mouseColor</example>
    <example>mouseColor()</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>User Interaction</category>
  </classification>
  <references>
    <property tag="colors">colors Property</property>
    <property tag="foregroundColor">foregroundColor Property</property>
    <property tag="hotSpot">hotSpot Property</property>
    <function tag="mouseLoc">mouseLoc Function</function>
    <function tag="mouseStack">mouseStack Function</function>
    <keyword tag="selection">selection Keyword</keyword>
  </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 color of the <glossary tag="pixel">pixel</glossary> that the <glossary tag="mouse pointer">mouse pointer</glossary> is over.</summary>
  <examples>
    <example>the mouseColor</example>
    <example>set the foregroundColor of graphic 1 to the mouseColor</example>
  </examples>
  <description>
    <p>Use the <b>mouseColor</b> <control_st tag="function">function</control_st> to find out what color the mouse is over or to <command tag="select">select</command> a color from the screen.</p><p/><p><b>Value:</b></p><p>The <b>mouseColor</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> a <href tag="reference/color_reference.rev">color reference</href> consisting of three <glossary tag="integer">integers</glossary> between zero and 255, separated by commas.</p><p/><p><b>Comments:</b></p><p>The <b>mouseColor</b> is the color of the single <glossary tag="pixel">pixel</glossary> under the <glossary tag="mouse pointer">mouse pointer's</glossary> hot spot. The hot spot is the active <keyword tag="point">point</keyword> of the <property tag="cursor">cursor</property>. For example, the arrow cursor's hot spot is at its tip, and to <command tag="select">select</command> an <glossary tag="object">object</glossary>, you must click it with the arrow tip.</p><p/><p>The value returned by the <b>mouseColor</b> consists of three comma-separated numbers between zero and 255, specifying the level of each of red, green, and blue.</p>
  </description>
</doc>