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

Nov 4, 2009 at 2:20am

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

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.

#46282
Nov 4, 2009 at 2:30am

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. –
#166623
Nov 4, 2009 at 3:03am

ubutton

#166624

You must be logged in to reply to this topic.