MouseClicked

Local Mouse functions

ns=2;s=DEPRAG Smart/Local/MouseFunctions/MouseClicked

The event is triggered as soon as a mouse button is pressed. The prerequisite for this is that the detection of the position was previously activated via the "StartDetectingMouseClick" function.

Returns:

    Result
    The result contains the information that is transmitted with the event.
      MouseClicked
      A variable of type MouseClickedObject, this contains the information about the performed mouse button click.
        MouseButton
        Name of the key that has been pressed on the mouse.
        XPosition
        The X-position of the mouse when the corresponding key is pressed.
        (Origin (0) upper left edge of the screen).
        YPosition
        The Y-position of the mouse when the corresponding key is pressed.
        (Origin (0) upper left edge of the screen).