<doc>
  <legacy_id>1884</legacy_id>
  <name>clickH</name>
  <type>function</type>
  <syntax>
    <example>the clickH</example>
    <example>clickH()</example>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>User Interaction</category>
  </classification>
  <references>
    <function tag="clickLoc">clickLoc Function</function>
    <function tag="clickV">clickV Function</function>
    <function tag="mouseH">mouseH Function</function>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary><glossary tag="return">Returns</glossary> the horizontal position of the most recent mouse click.</summary>
  <examples>
    <example>the clickH</example>
    <example>put the clickH div 2 into whichHalf</example>
  </examples>
  <description>
    <p>Use the <b>clickH</b> <control_st tag="function">function</control_st> to find out where the user last clicked.</p><p/><p><b>Value:</b></p><p>The <b>clickH</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> a <href tag="../glossary/nondashnegative.xml">non-negative</href> <keyword tag="integer">integer</keyword>.</p><p/><p><b>Comments:</b></p><p>The returned value is the horizontal distance in pixels from the left edge of the clicked stack to the location of the click. (Use the <b>clickStack</b> function to identify which <object tag="stack">stack</object> was clicked.)</p><p/><p>The click location is the position of the mouse pointer when the user pressed the mouse button, not when the user released the button. In particular, inside a mouseDown handler, the clickH returns the position of the mouse as it was when the mouseDown action ocurred.</p><p/><p>This function is equal to item 1 of the <b>clickLoc</b> <control_st tag="function">function</control_st>.</p>
  </description>
</doc>