Oh, well, you need something to call the mouse button and process the clicks.
Like this (in its simplest form):
Code: ags
Like this (in its simplest form):
function on_mouse_click (MouseButton button)
{
if (button==eMouseLeft){
ProcessClick (mouse.x, mouse.y, eModeInteract);
}
}