<doc>
  <legacy_id>2256</legacy_id>
  <name>hotSpot</name>
  <type>property</type>
  <syntax>
    <example>set the hotSpot of <i>image</i> to <i>point</i></example>
  </syntax>
  <library></library>
  <objects>
    <image/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>User Interaction</category>
  </classification>
  <references>
    <function tag="mouseColor">mouseColor Function</function>
    <property tag="yHot">yHot Property</property>
    <property tag="left">left Property</property>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
  </classes>
  <security>
  </security>
  <summary>Specifies the location of the hot spot when an <keyword tag="image">image</keyword> is being used as a <property tag="cursor">cursor</property>.</summary>
  <examples>
    <example>set the hotSpot of image "Arrow" to "20,0"</example>
  </examples>
  <description>
    <p>Use the <b>hotSpot</b> <glossary tag="property">property</glossary> to specify the position of the hot spot of an <keyword tag="image">image</keyword> you want to use as a <property tag="cursor">cursor</property>.</p><p/><p><b>Value:</b></p><p>The <b>hotSpot</b> of an <keyword tag="image">image</keyword> is a point: an <keyword tag="integer">integer</keyword> between 1 and the width of the <keyword tag="image">image</keyword>, a comma, and an <keyword tag="integer">integer</keyword> between 1 and the height of the <keyword tag="image">image</keyword>.</p><p/><p>By default, the <b>hotSpot</b> <glossary tag="property">property</glossary> of newly created <glossary tag="image">images</glossary> is set to "<code>1,1</code>".</p><p/><p><b>Comments:</b></p><p>A mouse cursor, regardless of its shape, always has a single active point or hot spot. For example, the arrow cursor's hot spot is at its tip, and to select an object, you must click it with the arrow tip.</p><p/><p>The first item of the <b>hotSpot</b> <glossary tag="property">property</glossary> is the horizontal distance in <property tag="pixels">pixels</property> from the left edge of the <keyword tag="image">image</keyword> to the hot spot <keyword tag="point">point</keyword>, and is equal to the <glossary tag="image">image's</glossary> <property tag="xHot">xHot</property> <glossary tag="property">property</glossary>. The second <keyword tag="item">item</keyword> of the <b>hotSpot</b> <glossary tag="property">property</glossary> is the vertical distance in <property tag="pixels">pixels</property> from the top of the <keyword tag="image">image</keyword> to the hot spot <keyword tag="point">point</keyword>, and is equal to the <glossary tag="image">image's</glossary> <property tag="yHot">yHot</property> <glossary tag="property">property</glossary>.</p>
  </description>
</doc>