<mouse_click>

Executes the specified actions upon mouse click and release over the image defined by the parent <image name=""> tag. (If the mouse is clicked without release, <mouse_down> must be used.)

This tag makes the following variables available for evaluation:

image_click_name – the name of the image that was clicked.
image_click_x – the X position of the cursor at the moment of the click (relative to the upper left corner of the image).
image_click_y – the Y position of the cursor at the moment of the click (relative to the upper left corner of the image).

Child of: <image name="">
Parent of: Any child of <node name="">
See also: <mouse_down>, <mouse_move>, <mouse_out>, <mouse_over>

Example:

<image name="my_image">
            ...
<mouse_click>
...
</mouse_click>
</image>