Hi kasimir
If you check out "button" in the manual, you will find the answer you are looking for.
You can make the image you want check for mouse touch events ny making it a button in a panel. Then using logic, you can test if you have touched it with the mouse.
Code:
function touch_function(button_number,panel)
{
if(panel == touch_panel && button_number == 1 && event_type == event_touch)
{
// you touched the touch_panel and the image with the mouse
// do work here
}
}
bmap touch_image = <your_file.bmp>;
panel touch_panel =
{
button(50,50,touch_image,touch_image,touch_image,null,null,touch_function;
flags = visible;
}
That is how I would do it.
Hope this helps you out.
-raiden