Forums > MaxMSP

Button object that reports mouse-down and mouse-up?

Nov 04 2009 | 2:20 am

Is there any user-interface object that reports mouse-down and mouse-up events separately? I need something like a ubutton that would report when the button is pressed, and when released, as separate events, like a MIDI note-on and note-off sequence.

As far as I can tell, most (all?) Max objects bang on mouse-down.

Nov 04 2009 | 2:30 am

Check out [mousestate] but note that it needs to receive an initial bang (use [loadbang]) in order to work.

— Pasted Max Patch, click to expand. —
Nov 04 2009 | 3:03 am


Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP