I have overwritten the function “onmousebuttonup”(i set it up to detect the left mouse button) for a specific image widget,
but when I release the left mouse button over the widget then nothing happens.
Only once I double click on the widget something happens.
I have overwritten the function “onmousebuttonup”(i set it up to detect the left mouse button) for a specific image widget,
I bet OP forgot to handle on mouse down - you can’t have on mouse up if the button was never pressed over the widget in the first place. Unless you do perform hacky Precise Clicks with buttons, that is.
it works well with the return node and “Handled” like someone replied above. I was making a new Event for this. You definitely MUST return handled or it’s lost.