Is it possible, within a handler function, to tell whether the mouse button is depressed? (Maybe it just had a long day, or its girlfriend left it…) I know it’s possible within modal operators.
I’m using a post-scene-update handler to automatically run a script every time after something in the scene changes.
My script deforms a mesh according to the location of an empty object, which I interactively move around with my mouse.
I would like (if possible) to perform the deformation only once I have released the mouse button.