{"identifier":32047,"topic":"Commands","name":"click at","text":"<code>click at <i>point<\/i> <\/code> <code>click at <i>point<\/i> with <i>key1<\/i><\/code> <code>click at <i>point<\/i> with <i>key1<\/i>, <i>key2<\/i><\/code> <code>click at <i>point<\/i> with <i>key1<\/i>, <i>key2<\/i>, <i>key3<\/i><\/code>  <br><br>\n\n The<code> click at <\/code>command clicks the mouse from within scripts. It acts exactly as if the user had clicked the mouse on the screen.  <br><br>\n\n If<code> <i>point<\/i> <\/code>is within the rectangle of a button, a locked field, or anywhere else on the card, HyperCard sends the <code>mouseDown<\/code>, <code>mouseStillDown<\/code>, and <code>mouseUp<\/code> messages to the object. <br>\n<br>\nIf<code> <i>point<\/i> <\/code>is within the rectangle of an unlocked field, HyperCard sets the insertion point in the field. <br><br>\n\n The<code> with <i>key<\/i> <\/code>options specify combinations of the<code> commandKey,<\/code> the<code> optionKey,<\/code> and the<code> shiftKey,<\/code> just as if the user were holding down the key or keys while clicking the mouse. <br>\n","related":{"53066":"clickH and clickV","53693":"clickLoc","35701":"drag","58372":"mouse","58695":"mouseClick","59412":"mouseLoc","47006":"select","2765":"selectedLoc","49918":"type"},"examples":"click at 0,0\n\nclick at the mouseLoc\n\nclick at the mouseLoc with shiftKey,optionKey -- Option-Shift-click","demo":"on clickAtCloseBox\n   -- Close this demo field.\n   <b>click<\/b> at the loc of bkgnd button \"close\"\n end clickAtCloseBox\n ","debug":{"9":["click at point \rclic"],"10":["If point is within t"]}}