You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<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>